tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22293] - JSPC class name doesn't match Jasper
Date Thu, 11 Dec 2003 14:48:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22293>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22293

JSPC class name doesn't match Jasper





------- Additional Comments From jfrederic.clere@fujitsu-siemens.com  2003-12-11 14:48 -------
I have a work-around:
Use JspC -p org.apache.jsp and apply the following patch:
+++
--- jakarta-tomcat-4.1.29-src/jasper/src/share/org/apache/jasper/JspC.java     
Mon Oct 27 16:27:32 2003
+++ jakarta-tomcat-4.1.29-src/jasper/src/share/org/apache/jasper/JspC.java     
Thu Dec 11 15:34:23 2003
@@ -542,6 +542,8 @@
                 String jspPackage = toPackageName(jspUri);
                 if (jspPackage.equals("")) {
                     clctxt.setServletPackageName(targetPackage);
+                } else if (targetPackage.equals("org.apache.jsp")) {
+                    clctxt.setServletPackageName(targetPackage);
                 } else {
                     clctxt.setServletPackageName(targetPackage + "."
                                                  + jspPackage);
+++

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


Mime
View raw message