wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes war classpath question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "war classpath question" Watch "war classpath question" New topic
Author

war classpath question

Jayson Wade
Greenhorn

Joined: Jun 26, 2003
Posts: 3
For a webapp, will the classloader look in the classes directory or the lib directory first? Does this vary for different App Servers?
Thanks,
Jayson
Karthik Guru
Ranch Hand

Joined: Mar 06, 2001
Posts: 1209
Originally posted by Jayson Wade:
For a webapp, will the classloader look in the classes directory or the lib directory first? Does this vary for different App Servers?
Thanks,
Jayson

servlet specification (2.3) mandates that classes present in the classes folder needs to be loaded before the ones in the jar files in the lib folder. So as long as the app servers are servlet spec 2.3 compliant, the behaviour has to be uniform.
 
 
subject: war classpath question
 
Similar Threads
unable to view index.html pahe in webapps folder
WA #1.....word association
log4j.properties
Uploading a directory using JSP/JSF
servlet location