aspose file tools*
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
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: 29241

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
I agree. Here's the link:
subject: doubt about lib directory
Similar Threads
Between /lib and /web/WEB-INF/lib
Not able to access BouncyCastle jar from Application jar
Creating a JAR for an application that uses external libraries
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
Not able to connect to Mysql through servlet