File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "library directory" Watch "library directory" New topic

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?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
class files have to go under the
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.

Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Thank you Bill!
I agree. Here's the link:
subject: library directory
It's not a secret anymore!