wood burning stoves*
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
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.
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
C:\Tomcat\webapps\ROOT\WEB-INF\classes
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
C:\Tomcat\webapps\ROOT\WEB-INF\classes\project\MyServelt.class
I guess u r using Tomcat
anyway let me know if u any problem i will try my best to help u
Siva

Rgds<p>--Siva Jagadeesan<br /><a href="http://java2simple.blog-city.com" target="_blank" rel="nofollow">http://java2simple.blog-city.com</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: http://aspose.com/file-tools
 
subject: library directory
 
Similar Threads
Need to Convert Documents to HTML
WA #1.....word association
Componentized logic in views - what to use.
ClassNotFoundException in Jsp Precompilation
How to create a war file.