This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes how to invoke a servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to invoke a servlet" Watch "how to invoke a servlet" New topic

how to invoke a servlet

Dhanashree Mankar
Ranch Hand

Joined: Aug 25, 2003
Posts: 123
I am getting a common problem of invoking a servlet. I checked many of discussions but i don't understand so please help me out.
First i tried with http:/localhost:8080 but it was not doing. So i changed port to 80
and now i wrote http://localhost/servlet/heolloworld but still not getting.
I am using pws but i stopped it initially.My tomcat version is 3.3 This is old version so is problem bcz of this?
I also used servlet mapping in web.xml file but still not getting. And i read web.xml file is in \conf but i am having that file in webapps.
so plz plz guide me
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695 check out the 404 error FAQ
I agree. Here's the link:
subject: how to invoke a servlet
Similar Threads
Requested Resource() not available
how to invoke servlet
Tomcat - The requested resource is not available
Regarding autostart of a servlet
Got stuck - please help