DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30349>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30349 Cannot compile JSP pages from doc base with spaces in path Summary: Cannot compile JSP pages from doc base with spaces in path Product: Tomcat 5 Version: 5.0.27 Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Jasper cannot compile JSP pages if the web app doc base has spaces in its path -- at least not for the case of an expanded web app loaded via a <Context> element. The issues seems to be one of finding the jars in WEB-INF/lib. In my case I only have a few jars in WEB-INF/lib and my pages fail to compile due to errors like: Generated servlet error: D:\Tomcats\Tomcat5027\work\Catalina\localhost\wus\org\apache\jsp\index_jsp.java:13: package wus does not exist import wus.WusUtilities; ^ The package 'wus' (and the public class wus.WusUtilities) is in a jar in WEB-INF/lib in this case -- and the web app works perfectly in the same Tomcat once I move the doc base to file path which does not include spaces. This issue is easy for individuals to work around, but hard to educate others on -- most particularly on Windows where people are space happy with file and directory names. Thus this should be fixed to prevent unnecessary user confusion -- and to prevent needless reports of "Tomcat is completely broken" from such users. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]