Craig,
Thanks
for the clarification. I have a servlet to be loaded on startup which is looking
for another class. They are in different jars under the same app. However the
servlet can't see the class.
Srini
-----Original Message-----Srinivas Kurella wrote:
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 5:13 PM
To: [EMAIL PROTECTED]
Subject: Re: context related classpath question -ASAPThis is not precisely what happens.Tomcat documentation says that all the jars under the WEB-INF/lib directory in a context are automatically added to the CLASSPATH.
What happens is that classes in JAR files under WEB-INF/lib, and unpacked classes under WEB-INF/classes, are automatically made visible to other classes in the same web application. They are *not* added to the CLASSPATH environment variable, which makes sense when you remember that CLASSPATH is global to the entire JVM, but the set of classes visible to each webapp are unique to that webapp.
I am finding this not to be true. I have to add them explicitly to the CLASSPATH.
Am i missing something ???Craig McClanahan
