Types of URL Patterns : URL-patterns are three types.
1. Exact match : In this type of url-pattern the container checks whether url-pattern of the request is exactly matched with the url-pattern configured in web.xml or not.URL Pattern is case sensitive.
2. Directory match : In this type of URL-pattern a web container verifies or checks whether the directories of request URL-pattern is matched with url-pattern of a servlet in web.xml or not.A directory match is URL-pattern in web.xml ends with *.
3. Extension match : In this type of url-pattern a web container checks whether the extension in request url-pattern is matched with the extension url-pattern configure in web.xml or not.The extension url-pattern begins with * with out a slash(/)
Ещё видео!