You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jeffrey Hood <jh...@hmcon.com> on 2001/06/20 23:29:54 UTC
FW: Classpath problems with Tomcat 3.2
I can't seem to get the following to work...
entry in server.xml
<Host name="dev.jhood.com" >
<Context path="/"
docBase="/home/jhood/dev/websource/tomcat"
debug="0"
crossContext="false"
reloadable="true">
</Context>
</Host>
files:
/home/jhood/dev/websource/tomcat:
/WEB-INF
/classes
test.class
/subdir1
/subdir2
I have test.jsp in /home/jhood/dev/websource/tomcat, and it finds the
test.class fine, as well as other classes that test.class uses... all is
well...
But if I put test.jsp in /home/jhood/dev/websource/tomcat/subdir1/subdir2,
the jsp doesn't compile, and the message is that it can't find
subdir1.subdir2.test to instance it...
Why is it looking for the subdir1.subdir2 package instead of finding it in
WEB-INF/classes... do I -have- to have all of my jsp's in the root (can't
believe that is the case...)
Thanks in advance...
JH
Jeffrey Hood
HM Consulting, Inc.
717.509.6558
jhood@hmcon.com