Need help in using Eclipse JEE version to develop a servlet project

Posted by michael on Stack Overflow See other posts from Stack Overflow or by michael
Published on 2010-03-23T22:11:20Z Indexed on 2010/03/23 22:23 UTC
Read the original article Hit count: 218

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about servlets