package update for JSP Generator.

2009-04-05 Thread Varun Puttewar
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();


Re: package update for JSP Generator.

2009-04-05 Thread Mark Thomas
Varun Puttewar wrote:
 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.

Thanks. I fixed this and one other location I found.

Mark

 
 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();
 


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org