The url-pattern associates a servlet with a set of URLs. When a request from the user arrives, the container uses basic process to match the URL in the request with a URL pattern in the web.xml file. A URL pattern may sometimes contains subsets of US-ASCII characters.

BY Best Interview Question ON 25 Apr 2020