What steps will reproduce the problem? 1.Install Tomcat 7.0.28 2.Load Bodgeit 1.3.0 3.place search.jsp code in the bodgeit store app.
What is the expected output? What do you see instead? I expect the search page.
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 15 in the generated java file Only a type can be imported. org.apache.commons.lang3.StringEscapeUtils resolves to a package
An error occurred at line: 48 in the jsp file: /search.jsp
StringEscapeUtils cannot be resolved
45: <%
46: Statement stmt = conn.createStatement();
47: ResultSet rs = null;
48: query = StringEscapeUtils.escapeHtml4(query).replaceAll("'", "'");
49:
50: try {
51: String sql = "SELECT PRODUCT, DESC, TYPE, TYPEID, PRICE " +
What version of the product are you using? On what operating system? 1.3.0, OSX Lion
Please provide any additional information below. I think this is related to the fact that search.jsp isn't part of the app WAR but I am not sure.
Comment #1
Posted on Jul 31, 2012 by Quick CatBodgeit 1.4 is the fix for this issue.
Status: Fixed
Labels:
Type-Defect
Priority-Medium