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. -- amp;
etc.
Best Regards,
Anthony Geoghegan.
J2EE Developer
CPS Ireland Ltd.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
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. -- amp;
Alex Chafee's PurpleTech classes have something that do
Thanks Simon perfect.
Best Regards,
Anthony Geoghegan.
J2EE Developer
CPS Ireland Ltd.
- Original Message -
From: Simon Stewart [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, July 30, 2002 11:44 AM
Subject: Re: Java servlets html escape codes.
On Tue, Jul 30
Subject: Re: Java servlets html escape codes.
From: Ron Jon [EMAIL PROTECTED]
===
that's one possible way to do conversion string--html:
public static String ConvertString(String source){
if (source==null)
return null;
int length = source.length();
StringBuffer temp = new