aspose file tools*
The moose likes Struts and the fly likes how can i test my servlet on tomcat 5??????? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how can i test my servlet on tomcat 5???????" Watch "how can i test my servlet on tomcat 5???????" New topic
Author

how can i test my servlet on tomcat 5???????

adnann ahmad
Greenhorn

Joined: Jun 18, 2004
Posts: 3
hi friends
can somebody tell me that how can i test my servlet on tomcat 5 plz help me i am new in servlet and i can't go ahead untill i check my servlet output.
i have compiled files but cant test them
i will be thankful all of u
hope soon someone send me the solution of this prob
goodbye
Don Stadler
Ranch Hand

Joined: Feb 10, 2004
Posts: 451
Originally posted by adnann ahmad:
hi friends
can somebody tell me that how can i test my servlet on tomcat 5 plz help me i am new in servlet and i can't go ahead untill i check my servlet output.
i have compiled files but cant test them
i will be thankful all of u
hope soon someone send me the solution of this prob
goodbye


First copy the war file which you generated into the webapps directory of Tomcat. On my machine this is "D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps". Then start the Tomcat container. I bring up a command window and cd to D:\Program Files\Apache Software Foundation\Tomcat 5.0\bin, then enter startup. That should get your application deployed and running.

Note that Tomcat has to be stopped (shutdown command) and restarted each time a deploy or redeplot of a web app takes place.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can i test my servlet on tomcat 5???????
 
Similar Threads
Need some really basic advice
How to run a servlet in Tomcat
How to Deploy servlet using Tomcat 5
Tomcat Restarting
How to include servlet api in eclipse