wood burning stoves*
The moose likes Java in General and the fly likes doubt about 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 » Java in General
Bookmark "doubt about lib directory" Watch "doubt about lib directory" New topic

doubt about lib directory

S Sravs
Ranch Hand

Joined: Feb 25, 2008
Posts: 85
if the jar file is present in webcontainer to run some application and that application also contains the same jar file as that of container to run application then container first looks wehter in its own lib (or) application's lib
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30085

It depends on your application server. And for some app servers, it further depends on the classloader settings configured upon deployment.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
S Sravs
Ranch Hand

Joined: Feb 25, 2008
Posts: 85
thanks Jeanne
subject: doubt about lib directory
Similar Threads
Between /lib and /web/WEB-INF/lib
Creating a JAR for an application that uses external libraries
Not able to access BouncyCastle jar from Application jar
Not able to connect to Mysql through servlet
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver