A deployment issue can occur if all the files are not exactly where they're expected.
From your reply it sounds like you have them correct, yet something's still not working, right? Again, not unusual at all. Happens to everybody initially and, gulp, even later...
I'm assuming you can type a
http://localhost:8080 and see the Tomcat welcome screen.
(I've seen cases where students have taken a day or two to figure out how to get a basic Servlet working.)
There are many different approaches here.
What I do in these cases is to use an
IDE that will create a Servlet and deploy it for you so the problem doesn't happen in the first place. You could still do that and then examine the structure/code/etc to what you did to see what went wrong and adjust accordingly the next time.
Or, if you don't want to try the IDE route, it's a still good idea to walk through a tutorial, like the one I sent you a link to and verify it works as expected. I always create a simple
test project outside the one I'm having an issue with to verify and do a sanity check. Your Servlet is simple to begin with, but a tutorial walk-through on a separate example is still a good idea.
There's always eventually an "Ah hah!" moment where it all makes sense.
I'd recommend picking up a copy of Marty Hall's Core Servlets and JavaServer pages. Marty rocks!
Good luck.
- Mike