permaculture playing cards*
The moose likes Servlets and the fly likes Which is class path? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Which is class path?" Watch "Which is class path?" New topic
Author

Which is class path?

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
In web application ,class path is Web-inf or Web-inf/class or web-inf/lib?
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 3956
    
  17

The classpath for a web app is (at least)
WEB-IF/classes/
plus all the JARs in the WEB-INF/lib/
In addition, servers may add further directories to the classpath to give access to shared resources between web apps and provid system / server resources.


Steve
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60062
    
  65

Be sure that it's WEB-INF, not web-inf.

Case counts!


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which is class path?
 
Similar Threads
resin does not recognize modified java classes
Mapping addresses in jsp and servlets
servlet init parameters
Custom tag error
Error