Expression Language (EL)
We now turn our attention to the Expression Language. Although EL is not a general purpose programming language, it does share many characteristics with common languages with which you will be familiar. For example, while it has no flow-control it does have variables and operators.
EL Variables
EL variables are implicit JSP variables, additional EL-specific variables, and any user-defined variables. Today's discussion will focus on using implicit variables and using JavaBeans (see the section “Simplifying JSP pages with JavaBeans”). Setting variables using the JSTL is covered on Day 14.
Implicit Objects
Like JSP, EL defines a number of implicit objects that provide access to request parameters, HTTP headers, cookies, ...
Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.