I did all the things already, but I don't want this way. What I did, 1) first I created one html file,one servlet file and one web.xml file 2) Then I put all these files in appropriate directories. 3) I created .war file of my web application. 4) I started tomcat 5) Then in tomcat I mention .war file location of my application to deploy it.
Now the .war file is successfully deployed in tomcat
But I dont know how to run that application? Please tell me the way to run it?
Follow these steps:
1)Start the tomcat server
2)Open your browser and type the following url:
Hope that it helps