In JSP 2.0, you invoke the expression language with elements of the following form. ${ expression } These EL elements can appear in ordinary text or in JSP tag attributes, provided that those attributes permit regular JSP expressions. For example: <UL> <LI>Name: ${ expression1 } <LI>Address: ${ expression2 } </UL> <jsp:include page=" ${ expression3 } " /> When you use the expression language in tag attributes, you can use multiple expressions (possibly intermixed with static text) and the results are coerced to strings and concatenated . For example: <jsp:include page=" ${expr1}blah${expr2} " /> This chapter will illustrate the use of expression language elements in ordinary text. Volume 2 of this book will illustrate the use of EL elements in attributes of tags that you write and tags that are provided by the JSP Standard Tag Library (JSTL) and JavaServer Faces (JSF) libraries. Escaping Special CharactersIf you want ${ to appear in the page output, use \${ in the JSP page. If you want to use a single or double quote within an EL expression, use \' and \" , respectively. |