url pattern tag reference - novalexei/mod_servlet GitHub Wiki
#####<url-pattern>
This tag specifies a single URL pattern for a <servlet-mapping> or <filter-mapping> element.
This tag defines the URL patterns which will trigger the servlet of filter.
Examples:
-
*.do- a file extension pattern, matching any URL that ends in .do, eg: Struts uses this to map action.do to its action servlet. -
/content/*- a path pattern, matching any URL that begins with /content/, eg: /content/Product/41 -
/MyServlet- a specific pattern, matching only the URL /MyServlet