This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes execute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "execute" Watch "execute" New topic


gaurav chhabra
Ranch Hand

Joined: Jul 24, 2004
Posts: 109
i have installed with TOMCAT and also running it.
i have compiled up with the servlet and know please tell me that how to execute a servlet,what path we have to set.

thank you
Ravish Ahuja

Joined: Nov 29, 2004
Posts: 13
Every servlet is specified in web.xml file. Like


You have to put your web application in the webapps folder of the TOMCAT. suppose you make a floder MySite in the webapps folder of the TOMCAT. now for calling a servlet you must give address as
Don't get me started about those stupid light bulbs.
subject: execute
Similar Threads
iwant steps execution
Glassfish - Eclipse - Servlets
Reading form parameters
Is there any way to call servlet?
Wait Thread ??