Lee Haslup wrote:

(Something like URLEncoder but for
forms data not URLs.) It seems like every time I write a webapp I write another method to make strings safe in HTML textareas. I am haunted by the notion that there must be a standard way to do it that I just can't find. It's a difficult problem to describe to a search engine since all the keywords that describe the problem are keywords used to construct websites.

The StringEscapeUtils class from the Jakarta Commons project, has a
bunch of String escaping / manipulating methods. You might give that a look.


http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/StringEscapeUtils.html

TTYL,

Phil
--
Vote Badnarik for President 2004
www.badnarik.org

FREE AMERICA
Vote Libertarian
www.lp.org

_______________________________________________
Juglist mailing list
[EMAIL PROTECTED]
http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to