Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which is class path?

 
jacob deiter
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In web application ,class path is Web-inf or Web-inf/class or web-inf/lib?
 
Steve Luke
Bartender
Posts: 4181
21
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Be sure that it's WEB-INF, not web-inf.

Case counts!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic