July 16th, 2003, 09:33 AM
I have a jsp page with a line looks like:
<jsp:include page="top.jsp" flush="true">
<jsparam name="section" value="7" />
The JspC java code looks like:
JspRuntimeLibrary.include(request, response, "top.jsp" + "?" + "section=" + "7", out, true);
When I compile the generated java file, I'm getting this error:
[javac] C:\Projects\AstonC_Mark2View\aw\hedzup\Build\demo\temp\jsp\analysis_jsp.java:49: cannot resolve symbol
[javac] symbol : method include (javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,java.lang.String
[javac] location: class org.apache.jasper.runtime.JspRuntimeLibrary
[javac] JspRuntimeLibrary.include(request, response, "top.jsp" + "?" + "section=" + "7", out, true);
The same jsp code works fine with the previous version of
jasper.jar. I'm upgrading to Jetty4.2.9 and hence the upgrades
to jasper-runtime.jar and jasper-compiler.jar that comes from
Thanks in advance for any help.
July 16th, 2003, 10:04 AM
Oops! The jasper-compiler.jar, jasper-runtime.jar and javax.servlet.jar were AFTER other jars which obviously screwed up the classpath.
Putting the above jars before everybody else solve the compilation problem.
Sorry for the false alarm.