|
|
Expression Language (EL) in JSP
|
Tutorials

Jsp

|
Topic |
What are the Expression Language (EL) in JSP?
|
|
Explanation |
|
Simpler form for JSP Expressions came with JSTL 1.0, in the form of Expression Language. EL is used to set action
attribute values from different sources at runtime. JSP Expression Language is also used without parameters but as
actions directly in a webpage.
JSP EL always starts with a "$" followed by a "{" and ends with a "}". The expression is specified
inside the brackets. A set of implicit variables provide access to the requested data.
Example:
${2+3+4}
JSP EL supports literal numbers, the boolean value "true,false", "null", the strings
enclosed in single and double quotes.
|
|
A Note |
|
JSP(Java Server Pages) is one of the most used Server Side Programming Language in the world. Simple introduction, basic program codes with examples. Begin coding your own JSP scripts with this online tutorial. Hope you enjoy this tutorial. Do send your feedback or suggestions on this JavaServer Pages tutorial. This is a copyright content.
|
|
|
|