I have a servlet that runs fine when it is placed as a class file in my web
application's classes directory. However when I JAR the class and place the
JAR file in the web application's lib directory, Tomcat does not find the
servlet. If I place the JAR on Tomcat's classpath (in the shell script that
starts Tomcat), the servlet runs fine.
Section 9.4 (on page 43-44) of the Java Servlet Specification Version 2.2
seems to indicate that the lib directory is the proper location for JAR
files and implies that JAR files located in the lib directory don't need to
be on the container's classpath.
Could Tomcat's problem be related to its lack of support for class
reloading? Or is there a element that I'm missing that should go into the
web.xml file for my web application?
Anyone have insight into this?
Thanks
-- kevin kenan
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html