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
Collection EL 3 supports collection construction using brackets ([ ]).
Example: [1, 2, 3]
  • since 8.0.0 EL 3 supports