You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Anthony Geoghegan <an...@eircom.net> on 2002/07/30 12:05:31 UTC
Java servlets & html escape codes.
Anyone know a low overhead class or method for converting text strings to
html escape coded strings (and back again) for java Servlet implementation?
i.e. & --> &
etc.
Best Regards,
Anthony Geoghegan.
J2EE Developer
CPS Ireland Ltd.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Java servlets & html escape codes.
Posted by Anthony Geoghegan <an...@eircom.net>.
Thanks Simon perfect.
Best Regards,
Anthony Geoghegan.
J2EE Developer
CPS Ireland Ltd.
----- Original Message -----
From: "Simon Stewart" <sm...@lateral.net>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Tuesday, July 30, 2002 11:44 AM
Subject: Re: Java servlets & html escape codes.
> On Tue, Jul 30, 2002 at 11:05:31AM +0100, Anthony Geoghegan wrote:
> > Anyone know a low overhead class or method for converting text strings
to
> > html escape coded strings (and back again) for java Servlet
implementation?
> >
> > i.e. & --> &
>
> Alex Chafee's PurpleTech classes have something that do
> that. http://www.purpletech.com/ You get the source as well, so you
> can slim the class down even more if you need to.
>
> Cheers,
>
> Simon
>
> --
> A debugged program is one for which you have not yet found the conditions
> that make it fail.
> -- Jerry Ogdin
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Java servlets & html escape codes.
Posted by Simon Stewart <sm...@lateral.net>.
On Tue, Jul 30, 2002 at 11:05:31AM +0100, Anthony Geoghegan wrote:
> Anyone know a low overhead class or method for converting text strings to
> html escape coded strings (and back again) for java Servlet implementation?
>
> i.e. & --> &
Alex Chafee's PurpleTech classes have something that do
that. http://www.purpletech.com/ You get the source as well, so you
can slim the class down even more if you need to.
Cheers,
Simon
--
A debugged program is one for which you have not yet found the conditions
that make it fail.
-- Jerry Ogdin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>