This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes library directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "library directory" Watch "library directory" New topic
Author

library directory

Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Hi, I have some packages for servlets, butI am not sure where to put them. They are class files not jar files. Can anyone answer me?
Thanks.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
class files have to go under the
WEB-INF/classes
directory of your web application. (Assuming your servlet engine is API 2.2 - before that it was up to the vendor)
You have to build the complete set of directories to represent the package. Download the Servlet API from the Sun web site for lots of these little details.
Bill

Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Thank you Bill!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: library directory