Is it wise to add directories under the /lib directory? I'd like to keep the 3rd party classes seperated from eachother. If I do this, how do I tell tomcat/catalina where to find the class files? Isn't the CLASSPATH variable ignored for .jsp pages?
--- Filip Hanik <[EMAIL PROTECTED]> wrote: > just put them in the > > /WEB-INF/lib directory. > > your webapp has to have a WEB-INF directory, and > under WEB-INF you have two directories > /classes -- used for .class files > /lib -- used for .jar files > > -----Original Message----- > From: Jeff Ousley [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 10:29 AM > To: [EMAIL PROTECTED] > Subject: placement of 3rd party class files > > > Hello! > > Forgive my ignorance as I try to grasp the concepts > involved in using tomcat. I'm still learning. > > My web application uses several beans which use 3rd > party classes bundled in .jar files. Where should I > place these? After reading the class loader doc, I'm > still not clear? They will only be used by this > webapp. > > First of all, when I compile my beans, javac needs > to > know where these .jar files reside. Secondly, when > my > .jsp page runs that uses the beans that use these > 3rd > part classes, the .jar files need to be found. > > So, what is the proper place to store these .jar > files > & how do I set the classpath so they can be found? I > aplogize for the many questions. > > thanks! > -jeff > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up > now. > http://mailplus.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]