File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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: 15302

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
I agree. Here's the link:
subject: Lib directory
It's not a secret anymore!