Validating language experience approach

The EL is geared toward looking up objects and their properties, and performing simple operations on them; it is not a programming language, or even a scripting language.When combined with the JSTL tags, however, it enables complex behavior to be represented using a simple and convenient notation.Operators allow data and literals to be combined and compared.

In addition, you can combine multiple expressions with static text to construct a dynamic attribute value through string concatenation, as highlighted in Listing 4.Scripting elements allow program source code to be included in a JSP page for execution when the page is rendered in response to a user request.Actions encapsulate computational operations into tags that more closely resemble the HTML or XML markup that typically comprises the template text of a JSP page.In JSP 1.2, the attributes of JSP actions are specified using either static character strings or, where permitted, expressions.In Listing 2, for example, static values are specified for the Because request-time attribute values are specified using expressions, they are prone to the same software maintenance issues as other scripting elements.The EL provides identifiers, accessors, and operators for retrieving and manipulating data resident in the JSP container.

You must have an account to comment. Please register or login here!