My pleasure.
Remy Maucherat <[EMAIL PROTECTED]> 09/11/2006 09:52 AM Please respond to "Tomcat Developers List" <dev@tomcat.apache.org> To Tomcat Developers List <dev@tomcat.apache.org> cc Subject Re: [TC6] revision that removed calls to makeOutputDir() breaks Jasper Scott Johnson wrote: > Revision 441109 to JspCompilationContext.java removed calls to > makeOutputDir() from the methods getClassFileName() and > getServletJavaFileName(). This results in JSP compilation failures in > this scenario: > > 1. my.jsp is requested for the first time, its implementation > servlet is created in the outputDir , JspServletWrapper is populated, etc. > Happy. > 2. You delete the outputDir. Not just my_jsp.class, but the > entire directory. > 3. Request my.jsp again. > > Because the servletwrapper for my.jsp has been populated with a > jspcompilationcontext, both 'servletJavaFileName' and 'classFileName' are > initialized. In addition, 'outputDir' is intialized. Revision 441109 > results in no call to makeOutputDir() > ever being made and therefore the resultant generation of my_jsp.java > fails due to the outputDir not existing. BTW, thanks for the testing. Rémy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]