1. How to tell Java which StringEscapeUtils.escapeXML() to use? stackoverflow.com
I'm trying to use the StringEscapeUtils.escapeXML() function from org.apache.commons.lang... There are two versions of that function, one which expects (Writer, String) and one which just expects (String).... http://commons.apache.org/lang/api/org/apache/commons/lang/StringEscapeUtils.html#escapeXml(java.lang.String) I'm trying to use ...
2. What is the difference between escapeXml and escapeHtml? stackoverflow.com
I would like to escape characters in JSP pages. Which is more suitable,