I am trying to include the library StringEscapeUtils and everything that I can find indicates that I can import the Apache Org page as follows:
<%@ page import="org.apache.commons.lang.StringEscapeUtils" %>
however, I can only resolve the URL down to this:
<%@ page import="org.apache.commons.*" %>
and when I do that, the compile still cannot resolve StringEscapeUtils
.
What am I doing wrong?
In Java, imports are not references to URLs, they are references to Java packages. To import that class, you will need to include the commons-lang JAR in your classpath.
If this is related to your earlier question, you do not appear to need an external library, as I explained there.