wood burning stoves 2.0*
The moose likes Servlets and the fly likes url-pattern tag in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "url-pattern tag in web.xml" Watch "url-pattern tag in web.xml" New topic

url-pattern tag in web.xml

rekha devan

Joined: Oct 10, 2005
Posts: 26
what does <url-pattern> tag in web.xml do?
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

It's part of the <servlet-mapping> section.
There is a link to the servlet spec in my signature.
If you download it and search for either url-pattern or servlet-mapping, you will find the section that describes them in detail.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
It is sorta covered in the JavaRanch Style Guide.
subject: url-pattern tag in web.xml
Similar Threads
404 after adding web.xml
Are there fill in the blank questions on the SCWCD 1.4 exam?
HTTP 404 Error
*.do in web.xml file ?
Servlet web.xml url- pattern