I have a project name
servlet_project and 2
servlet named
serv and
serv2 (sorry for stupid names).
When I am trying to run this project, I am getting 404 error.But if I run both the servlets independently, they both running fine.
ServletContextListener also running fine. Also if I write url
http://localhost:8080/servlet_project/startpage then it works fine and execute
serv.java
But the problem is in running the whole project. I know their something very little I am missing, (may be my project is not getting what to show the first page )
could someone please tell me that wrong thing I am doing .
The web.xml file is :
The servlet I am using in this project :
Here is the picture which describing the error and my class hierarchy :