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?
Cynthia Yao
Ranch Hand

Joined: Nov 06, 2000
Posts: 92
Please be more specific because different web server, the file would put into different places.
Siva Jagadeesan
Ranch Hand

Joined: Oct 31, 2000
Posts: 160
Hi Bob:
Cynthai is right.
For example if u r using tomcat
then u got to store all ur class files in this following directory
Considering u have stored tomact ins tomact directory.
If u have a package PROJECT and the servlet name is MyServlet
Then u have to store u MyServlet class in this following directory like this
I guess u r using Tomcat
anyway let me know if u any problem i will try my best to help u

Rgds<p>--Siva Jagadeesan<br /><a href="" target="_blank" rel="nofollow"></a><br />Sun Certified Java2 Programmer<br />Sun Certified Web Component Developer<br />BEA Certified Weblogic Server 7 Enterprise Developer
I agree. Here's the link:
subject: library directory
It's not a secret anymore!