Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Specifying url-pattern in web.xml

843841Sep 11 2007 — edited Sep 11 2007
Hello,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 9 2007
Added on Sep 11 2007
3 comments
379 views