Specifying url-pattern in web.xml
843841Sep 11 2007 — edited Sep 11 2007Hello,
I am working in development of web applications. Now I am working with web prject developed by some one else.
Actually in the web.xml file of the project , they specified servlet mapping for all the classes but url-pattern mapped with some specifed servlet names only. My problem is , eventhough no url-pattern is specified for some classes they are working but in for some servlet classes it throws a ClassNotFoundException, if I didn't specify the url-pattern. Actually I am calling the servlet with same name as it is. I wondering why some servlets working and some are not .I am using apache tomcat 5.5
Let me know what may cause for this faalure? Any help would be appreciated.
thanks,
Sreejith