File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes small doubt Please Clarify!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "small doubt Please Clarify!!!" Watch "small doubt Please Clarify!!!" New topic
Author

small doubt Please Clarify!!!

Tualha Khan
Ranch Hand

Joined: Nov 22, 2000
Posts: 287
Dear All,
Hey,
I am building a few Servlets in Apache+Tomcat environment. I have a few doubts:
Where do I put my compliled servlet's .class files. In specifically in which directory.
And also under the directory of Apache or in the directory of Tomcat?
Do I have to start apache before accessing the servlet, or just tomcat will be needed.
What should be my path in the action attribute of the servlet calling html file?
Please reply soon, It's urgent.
Thanks a lot,
Bye,
Tualha Khan


SCJP2, BEA WLS 6.0, DB2 UDB 7.1
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12788
    
    5
This is all laid out in the Tomcat documentation, the Tomcat examples, and the servlet and JSP API documentation.
Study how the Tomcat examples are set up in the server.xml and web.xml files. Read the APIs - available for download from java.sun.com
Bill

------------------
author of:
Ajan Balakrishnan
Ranch Hand

Joined: Jan 04, 2001
Posts: 71
see post http://www.javaranch.com/ubb/Forum7/HTML/001916.html
Ajan
 
jQuery in Action, 2nd edition
 
subject: small doubt Please Clarify!!!