What are JSP literals?


The JSP expression language defines the following literals −

  • Boolean − true and false

  • Integer − as in Java

  • Floating point − as in Java

  • String − with single and double quotes; " is escaped as \", ' is escaped as \', and \ is escaped as \.

  • Null − null

Samual Sam
Samual Sam

Learning faster. Every day.

Updated on: 30-Jul-2019

486 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements