2011/3/9 Dharamshila Khandelwal <dharmshil...@gmail.com>: > Hi, > > I have the following servlet mapping in webapps/<webapp>/WEB-INF/web.xml > > <servlet-mapping> > <servlet-name>action</servlet-name> > <url-pattern>*.do</url-pattern> > </servlet-mapping> > > This mapping worked fine with Tomcat 5, but when I am running the > application with the same mapping, it is not able to load the servlet saying > that the requested servlet not found. > > Can anyone please help? Please let me know if you have any questions.
Read the Servlet spec. You must have a <servlet> with that name. The <servlet-mapping> is only half of the picture. http://wiki.apache.org/tomcat/Specifications Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org