File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes How to run a servlet in Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to run a servlet in Tomcat" Watch "How to run a servlet in Tomcat" New topic

How to run a servlet in Tomcat

Hirok Sanyal

Joined: Jul 10, 2000
Posts: 6
I have been able to start Tomcat in Win 98 and run the examples. I am not being able to run a Hello Servlet which I wrote because -
1. In which directory should I put the class file ? Tomcat is in directory c:\tomcat.
2. What should I enter as the URL address ?
I am very new to servlet. I will be grateful if someone can help me.
It is sorta covered in the JavaRanch Style Guide.
subject: How to run a servlet in Tomcat
Similar Threads
HelloServlet not running ?
Basic Servlet Question
run servlet in tomcat 5.5 in eclipse 3.2
Running self made Servlets on tomcat
Map URI to worker - Tomcat