> From: Mudit Garg [mailto:maxmu...@gmail.com] > Subject: Re: /WEB-INF/lib > > You could set an explicit classpath in tomcat startup script like:
Don't ever, ever, ever set CLASSPATH for Tomcat; you will confound the classloader design and end up with all sorts of ClassNotFoundExceptions. It will likely also be impossible to reload webapps without restarting the entire server. The servlet spec states that jars are to be placed in WEB-INF/lib, so that's what Tomcat implements; if the developer wants something beyond that, a custom classloader is what's needed. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org