Btw, the problem I am having is with tomcat 4.1.27, on both WindowsXP and Linux.

-----Original Message-----
From: Richard Musser 
Sent: Tuesday, August 26, 2003 2:03 PM
To: [EMAIL PROTECTED]
Subject: classpath error when changing context


My web app is up and running, but when I added a context definition (<Context.../>) 
for it suddenly the jsp compiler can't find the classes in WEB-INF/classes.  What 
gives?

My jsp files are in a subdirectory of the web app, like such: 
$CATALINA_HOME/webapps/foo/bar/index.jsp.  I added an xml file to the web apps 
directory to add the context definition so instead of hitting url 
http://localhost:8080/foo/bar/index.jsp I could just hit 
http://localhost:8080/bar/index.jsp.  The context definition is like:

<Context path="/bar" docBase="foo/bar" reloadable="false"/>

But when I use that new url, the compiler complains about not being able to find the 
classes (in WEB-INF/classes).  If I hit the original url, it works fine.

Thanks!

---------------------------------------------------------------------
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]

Reply via email to