EL: escaping HTML  
Author Message
Timo Nentwig





PostPosted: 2004-5-9 0:43:00 Top

java-programmer, EL: escaping HTML Hi!

I need to escape HTML - can this be done with EL alone? For a matter of
quotations marks I cannot use JSTL in a plain JSP:

<a href="javascript:f('<c:out value="problem"/>')">

Timo
 
Timo Nentwig





PostPosted: 2004-5-10 21:43:00 Top

java-programmer >> EL: escaping HTML Timo Nentwig wrote:
> Hi!
>
> I need to escape HTML - can this be done with EL alone? For a matter of
> quotations marks I cannot use JSTL in a plain JSP:
>
> <a href="javascript:f('<c:out value="problem"/>')">
>
> Timo

${fn:escapeXml(problem)}