struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Van Wart <sc...@indosoft.com>
Subject Re: Ready-made function somewhere to escape HTML?
Date Fri, 18 Aug 2006 03:31:57 GMT
Frank W. Zammetti wrote:
> 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.

Ahh... that class name you mentioned made me think of a class I saw 
while stepping through some code... I think 
org.apache.struts.util.ResponseUtils#filter will do the trick :).

Thanks,
  Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message