QM wrote:
: [snip] the classes are declared in the package org.apache.jsp.
: : Any ideas, how I can make tomcat (jasper?) load the classes that it just : generated and then compiled?
So then, you're precompiling the JSPs?
Nope. Just plain old JSP's in a webapp. Jasper generates servlets and compiles them just fine. But it cannot load them. I get
java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
I'm still having the problem. Is there anybody out there with a really detailed knowledge of how Jasper uses it's temp-dir?
What I experience is that Jasper compiles
<webapp>/foo/index.jsp
into
<work>/foo/index_jsp.class (which contains org.apache.jsp.index_jsp)
But Jasper's classloader doesn't seem able to load the file. Actually I see two problems here:
1) How can the classloader load a class in the org.apache.jsp package if the org/apache/jsp directory structure isn't present. Should this work?
2) What would the fully qualified classname of for instance <webapp>/bar/index.jsp be?
Thanks,
-dennis
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]