File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: execute
It's not a secret anymore!