A
Ashton
I am trying to write some JSP code that uses JSTL. However, I also need
the output page to contain the actual string:
<c
ut value="${param.author}"/>
I've tried HTML tags, using the string as a value in another c
ut,
setting the string into a JSTL variable, but nothing seems to protect
the EL expression. I even tried putting it in its own file and using
jsp:include, but it looks like that also happens before tag evaluation.
The closest I've got is by using...
<c
ut value='<c
ut value="$\{param.author}"/>' escapeXml='false'/>
....but that's a bit too literal and doesn't see the '\' as an escape
character...inserts it verbatim in the response.
What am I missing?
(I suspect I could use entities to make the output *look* right in a
browser, but that's not the goal.)
the output page to contain the actual string:
<c
I've tried HTML tags, using the string as a value in another c
setting the string into a JSTL variable, but nothing seems to protect
the EL expression. I even tried putting it in its own file and using
jsp:include, but it looks like that also happens before tag evaluation.
The closest I've got is by using...
<c
....but that's a bit too literal and doesn't see the '\' as an escape
character...inserts it verbatim in the response.
What am I missing?
(I suspect I could use entities to make the output *look* right in a
browser, but that's not the goal.)