File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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
It's not a secret anymore!