Home > Articles > Programming > Java

  • Print
  • + Share This
This chapter is from the book

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


  • + Share This
  • 🔖 Save To Your Account