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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "doubt in running servlets" Watch "doubt in running servlets" New topic

doubt in running servlets

nilima komala

Joined: Mar 03, 2005
Posts: 8
Hai!I have just registered in this site and I am new to java. How can i run servlets on tomcat. [EMAIL][/EMAIL]
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Well, the Tomcat user guide is a good place to start. Try going through that and post questions about anything you don't understand.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Lee Barney
Ranch Hand

Joined: May 07, 2003
Posts: 37
Generally the process is to:
1. create your servlet or obtain an existing one.
2. place the servlet code in the webapps directory.
3. call the servlet from your browser.

Do you have an existing servlet either as the appropriate directory structure or a .war file?
I agree. Here's the link:
subject: doubt in running servlets
It's not a secret anymore!