Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet, 404 Not Found

eddie fahy
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running a webapp which has a servlet too. When I try to run my webapp, all the JSPs work good but the servlet is "not found". If I try to access the application from "http://localhost/mywebapp" everything including the servlet, etc. is workign perfect. but when I try to access my webapp via internet, everything works, but servlet doesnt' work. I get "404 Not Found" error message. I checked chmod of the files, they all are in good shape.
My web.xml is very small and simple (pasted below). Can anyone tell me what could be the reason that outside world cannot access my servlet?


<web-app xmlns="" version="2.4"



Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!