While running the trunk tomcat version, I found out that Java files
generated from the JSP giving error while compiling,

After going in to sources I found that, fully qualified name for
InstanceManager class was coming out correctly.

following patch fixes the package name and with it I could execute the JSP
successfully.

Varun

Index: java/org/apache/jasper/compiler/Generator.java
===================================================================
--- java/org/apache/jasper/compiler/Generator.java      (revision 762074)
+++ java/org/apache/jasper/compiler/Generator.java      (working copy)
@@ -530,7 +530,7 @@
         out.printin("private javax.el.ExpressionFactory ");
         out.print(VAR_EXPRESSIONFACTORY);
         out.println(";");
-        out.printin("private org.apache.InstanceManager ");
+        out.printin("private org.apache.tomcat.InstanceManager ");
         out.print(VAR_INSTANCEMANAGER);
         out.println(";");
         out.println();

Reply via email to