wood burning stoves
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Classpath of a web application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Classpath of a web application?" Watch "Classpath of a web application?" New topic

Classpath of a web application?

Sandeep Vaid
Ranch Hand

Joined: Feb 27, 2006
Posts: 392
Servlet Container adds WEB-INF/classes and META-INF directories to the classpath of the web application. How can i see this classpath say in tomcat ?
Daniel Dalton
Ranch Hand

Joined: Mar 20, 2005
Posts: 146
I'm not sure the container adds META-INF to the classpath. What you need to know to make your app work is that un-jarred classes should be placed under WEB-INF/classes in directories mirroring the package structure as usual and jarred classes in WEB-INF/lib.

The container will then make the classes available on the class path.
I agree. Here's the link: http://aspose.com/file-tools
subject: Classpath of a web application?
It's not a secret anymore!