Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to invoke a servlet

 
Dhanashree Mankar
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://test.javaranch.com/wiki/view?TomcatFaq check out the 404 error FAQ
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic