This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Lib directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Lib directory" Watch "Lib directory" New topic

Lib directory

Murat Balkan
Ranch Hand

Joined: Sep 10, 2002
Posts: 127
I want to distribute my web app with war format. There are several times that I use jdbc classes. When distributing this app to clients , should I place jdbc jars into the lib directory and than war them? Is this the suitable approach?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299

All libraries specific to your application that are not shared with the App Server should be placed in the WEB-INF/lib folder of your application context.
[ January 16, 2004: Message edited by: Gregg Bolinger ]

GenRocket - Experts at Building Test Data
Consider Paul's rocket mass heater.
subject: Lib directory
Similar Threads
Web Application Deployment
Problem with Axis
ClassNotFoundException for LabelValueBean
connectionURL to SQL Server 2005
How to create a war file.