You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by zze-JEANJEAN S ext FTRD/DMI/SOP <sj...@rd.francetelecom.com> on 2002/09/16 19:57:53 UTC
c:out and \n
Hi,
The c:out tag convert special characters to character entities, why not
do the same thing with \n (to <br/>) ?
Is there a tag to convert \n to <br/> ??
Thanks,
Stephane
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: c:out and \n
Posted by Shawn Bayern <ba...@essentially.net>.
On Mon, 16 Sep 2002, zze-JEANJEAN S ext FTRD/DMI/SOP wrote:
> The c:out tag convert special characters to character entities, why
> not do the same thing with \n (to <br/>) ?
Because such a translation isn't general-purpose or based on the rules of
XML; JSTL isn't tied to HTML specifically.
> Is there a tag to convert \n to <br/> ??
You should be able to use the String Taglib or the Regexp Taglib.
--
Shawn Bayern
"JSTL in Action" http://www.jstlbook.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>