Need help in using Eclipse JEE version to develop a servlet project
- by michael
Hi,
I have downloaded eclipse jee version (3.5) and I would like to use it to develop a servlet project on tomcat.
So I
* install tomcat and add it as my server in my eclipse environment.
* create a Dynamic Web Project called 'TestServlet'
* create a new servlet called 'MainServlet'
and then I deploy my project to the tomcat server via eclipse and 'run the server in debug' mode.
But when I use the browser to hit 'http://localhost:8080/TestServlet/MainServlet' I see no resource found (that page is generated by Tomcat, so I know my Tomcat is running).
Can you please tell me what am I missing?
Or how can I trouble shoot my problem?
I think it must be some path /name is not set correctly.