From the JSP 2.0 spec :
Citation in EL Expressions
- There is no special citation mechanism in EL expressions; use the literal
'${' if literal ${ is required, and expressions are allowed for the page. For example, the estimate of ${'${'} is '${' . Please note that ${'}'} is legal and is simply evaluated before '}' .
So, in your case, instead of:
<h4>${id}</h4>
do the following:
<h4>${'${'}id}</h4>
This, of course, does not look beautiful, but this is what the Community Community process was decided on.
source share