[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.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards


This thread has been viewed 431 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jan 17, 2018 17:02:11.