Literals"
From Documentation
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
EL expressions define the following literals: | EL expressions define the following literals: | ||
− | + | {| border='1px' | |
− | + | ! Type !! Description | |
− | + | |- | |
− | + | | Boolean | |
− | + | | true and false | |
+ | |- | ||
+ | | Integer | ||
+ | | as in Java, such as 123 | ||
+ | |- | ||
+ | | Floating point | ||
+ | | as in Java, such as 1.23 and 1e9 | ||
+ | |- | ||
+ | | String | ||
+ | | with single and double quotes; " is escaped as \", ' is escaped as \', and \ is escaped as \\.<br/> | ||
+ | Example, 'a string' and "hello world" | ||
+ | |- | ||
+ | | Null | ||
+ | | null | ||
+ | |} | ||
=Version History= | =Version History= |
Latest revision as of 02:26, 25 November 2010
EL expressions define the following literals:
Type | Description |
---|---|
Boolean | true and false |
Integer | as in Java, such as 123 |
Floating point | as in Java, such as 1.23 and 1e9 |
String | with single and double quotes; " is escaped as \", ' is escaped as \', and \ is escaped as \\. Example, 'a string' and "hello world" |
Null | null |
Version History
Version | Date | Content |
---|---|---|