Try <c:out value="${symbal}" escapeXml="false"/> or
don't encode your HTML symbols in your file. Let
<c:out .../> do it for you.

robert

> -----Original Message-----
> From: Ricky Lee [mailto:[EMAIL PROTECTED]
> Sent: Saturday, February 07, 2004 9:42 AM
> To: [EMAIL PROTECTED]
> Subject: how to output html symbol to jsp page from user-defined taglib?
> 
> 
> hi, thanks for reading..
> 
> i have a problem about output a html symbol from
> taglib....
> 
> if i in a jsp page, use the code below:
> 
> <%
> String abc="&gt;";
> out.println(abc);
> %>
> 
> it can show the symbol ">";
> 
> if in my taglib class, i use code below:
> 
> pageContext.setAttribute("symbal", "&gt;");
> 
> and in the jsp page, i use code below to output the
> page context attrubite.
> 
> <c:out value="${symbal}" />
> 
> it doesn't show me the ">" symbol, it still show me
> "&gt;"....
> 
> please help me....thanks! 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to