I am not terribly familiar with the tomcat source, so this may not be the problem I am having. Two days ago my jsps for particular webapps stopped compiling correctly and started returning with the error: "Error compiling file: C:\jason\tomcat_4.1.12\work\Standalone\localhost\admin\/login_jsp.java"
I followed the stack trace given through the source and came up with a possibility for what I believe the problem to be. It seems in JspCompilationContext there is a method called getServletJavaFileName that has a hardcoded "/" being appended to the directory path if one is not found at the end. However, I am not familiar enough with the inner working of jasper to know if this is indeed doing what I believe it is doing. I have changed the "/" to File.separator, but I haven't had the chance to do the compilation yet (my discovery came extremely late last night, and I didn't have the patience at the time to set up the build environment). Can anyone who would be familiar with this class tell me if I have the right idea? My environment is Tomcat 4.1.12, windows 2000, the applications that refuse to work are all struts application. The really strange thing about this problem is that it is intermittent, and it doesn't occur on a duplicate of my environment on another machine, and it doesn't happen in any of my non-struts webapps. This is puzzling me terribly. Any information anyone can give me would be appreciated. Jason Miller