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=17997>.
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=17997

JspC's webapp switch does not expand package names





------- Additional Comments From [EMAIL PROTECTED]  2003-03-17 19:46 -------
I've found the same problem.  My webapp uses the same JSP filename in 
different subdirectories which results in errors.

I updated by JspC.java file as follows:

Added the following two lines to the public boolean processFile(String file) 
method:

String packageSuffix = jspUri.substring(0, jspUri.lastIndexOf('/')).replace
('/','.');
clctxt.setServletPackageName(clctxt.getServletPackageName() + packageSuffix);


I added the two lines right before the line:

setupContext(clcText);

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to