Hello Can Any one help me plz? I have configured my eclipse,i am able to run the jsp programs through eclipse using tomcat server. But i am not able to run the servlets. When i press compile button,its not giving any error,but when i am looking for output ,it says 404 error.
Do i need to write my servlet class and mapping information manually in the web.xml.
you need to explicitly add the servlet to your webapp configuration. Some IDEs and appservers may offer facilities to do that for you through some dialog box, but often you'll have to manually edit the web.xml yourself. Any halfway decent tutorial or book will tell you how to do that, you should really read some to get to know what you're doing.