The generated servlets are not put in a package. When Tomcat is compiling JSP it is put in org.apache.jsp. How to set this in the jspc task. The files are generated as usual in the work directory in the same structure as Tomcat itself compiles JSP files.
Antony Paul ----- Original Message ----- From: "Ralph Einfeldt" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, January 07, 2004 7:06 PM Subject: RE: Problems running pre-compiled JSP classes when in subdirectories May be you should have a look at the following: - the package statements in the generated source files - the file structure of the generate class files > -----Original Message----- > From: Jay Glanville [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 07, 2004 2:20 PM > To: 'Tomcat Users List' > Subject: Problems running pre-compiled JSP classes when in > subdirectories > > > > Here's my application's background. I have two files: > <WEBROOT>/index.jsp > <WEBROOT>/dir/index.jsp > java.lang.NoClassDefFoundError: org/apache/jsp/index_jsp (wrong name: > org/apache/jsp/dir/index_jsp) > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:537) > at java.lang.ClassLoader.defineClass(ClassLoader.java:448) > at --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]