Tomcat usually sets the classpath dynamically, so any jars in the
$TOMCAT_HOME/lib-directory should be included in the classpath.
But that does not allways work under Windows, depending on your
TOMCAT_HOME-directory.
If you are working under Windows and you do not get a message like
"Including all jars in C:\Apache\tomcat\lib in your CLASSPATH." in
the window that starts tomcat, then you have to set the classpath
explicitly.

Hope this helps

Michael Jaeger


-----Ursprungliche Nachricht-----
Von: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]Im Auftrag von Peter Choe
Gesendet: Dienstag, 20. Marz 2001 16:07
An: [EMAIL PROTECTED]
Betreff: where to put jar


i have a database connection pool jar file that i want to use for my web
applications.  so, i placed the jar file in $TOMCAT_HOME/lib.  but when
i run my web application, it doesn't seem to use the jar file.

do i need to set the classpath to read the jar file?  i thought that if
it is in the lib folder, tomcat will read it and use the classes in the
jar file.

peter choe

btw:  i am using tomcat3.2

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to