tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Bayern <bay...@essentially.net>
Subject Re: c:out Problem
Date Tue, 21 Jan 2003 14:13:07 GMT
On Tue, 21 Jan 2003, Alejandra De Leon wrote:

> Hi! Thanks for answering about c:foreach. Now I' m trying to find
> someone at caucho.com to answer my questions.
> 
> I have a problem with c:out when I try to display a string with
> special caracters. When I put algo&#134;s as the value of the c:out it
> displays &amp; insted & and the browser didn't recognize this. I have
> to used the code because I'm using netscape.
> 
> Is there a way to scape special caracters or to avoid this kind of
> automatically convertion?

To avoid the automatic conversion, use the attribute 'escapeXml="false"'
in the <c:out> tag.

You might want to read through the JSTL standard or pick up a book on
JSTL; it'll help with basic features like this.  Best,

-- 
Shawn Bayern
"JSTL in Action"   http://www.manning.com/bayern


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message