[Logo]
Forums Register Login
war classpath question
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
 

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.
If you open the box, you will find Heisenberg strangling Shrodenger's cat. And waving this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss


This thread has been viewed 476 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 16, 2018 10:47:35.