2.6 Literal Values

   

The JSTL expression language defines boolean, integer, floating-point, string, and null literals, as shown in Table 2.4.

Table 2.4. JSTL Literal Values

Type

Examples

Boolean

Boolean.true Boolean.false

Integer

143 +3 -4 2435

Double

1.43 -2.35 2.34E9

String

 string in double quotes" 'a string in single quotes' 

Null

null

   


Core JSTL[c] Mastering the JSP Standard Tag Library
Core JSTL[c] Mastering the JSP Standard Tag Library
ISBN: 131001531
EAN: N/A
Year: 2005
Pages: 124

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net