This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

war classpath question

 
Jayson Wade
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1209
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic