On Wed, 25 Jul 2001 [EMAIL PROTECTED] wrote:

> 
> This is my workaround as well, but it is not a very good solution. I often
> have multiple webapps running that need different versions of the same jar
> file. This becomes a real pain.
> Thanks,
> Dave
> 

If you have to modify the CLASSPATH to make classes inside JAR file in a
/WEB-INF/lib directory available, your webapps are set up incorrectly.  
In fact, doing this will make a lot of other things (like automatic
reloading on updated classes) fail miserably.

One good source of information about how to organize your web applications
is the "Application Developer's Guide" that is shipped with Tomcat (both
3.2 and 4.0).  Additionally, you should consider the Servlet Specification
(version 2.2 or 2.3, depending on which Tomcat you're running) to be
***required reading***, because that's where the requirements for web
applications are actually defined.  You can get the spec from:

  http://java.sun.com/products/servlet/download.html

Craig McClanahan

Reply via email to