Hi Scott... have a look at the ResponseHelpers class in Java Web Parts: http://javawebparts.sourceforge.net
More precisely: http://javawebparts.sourceforge.net/javadocs/index.html The encodeEntities() method should do the trick. Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM/Yahoo: fzammetti MSN: [EMAIL PROTECTED] Author of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! On Thu, August 17, 2006 5:14 pm, Scott Van Wart wrote: > Hello, > > I have user-entered input managed by a few custom tags (Java classes, > not tag files), and I need to encode this stuff to escape any special > HTML characters the user might type. Is there a special one in Struts I > can/should use, or should I write my own? (Struts 1.2.9, Tomcat 5.5.17) > > - Scott > > > --------------------------------------------------------------------- > 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]