You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Varun Puttewar <va...@gmail.com> on 2009/04/05 14:47:12 UTC
package update for JSP Generator.
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.
Posted by Mark Thomas <ma...@apache.org>.
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org