0
votes

I am trying to follow a very simple Hello World servlet tutorial from this link. I have followed all steps as written, but when I run it on the tomcat7 server (downloaded from within eclipse), it gives me an HTTP error 404, saying that the requested source is not available.

Note that my server is working fine on

localhost:8080

. But the servlet -

localhost:8080/HelloWorldServlet/HelloWorld

is giving me this error.

2
Can you access tomcat manager ? can you screen shot ? - Akhadra
What is shown in the Console view when you launch Tomcat? - nitind

2 Answers

0
votes

It means Tomcat cannot map your url to existing servlet method. Are you sure, you covered all steps correctly? Hard to say with no details included.

0
votes

You are probably missing the application name after the url, if you upload it to gitHub maybe I can provide more info.