Multiple choice technology web technology

Where does the application been first taken in to, when an URL is hit in the browser

  1. Servlet of the appilcation

  2. Deployment descriptor of the appln

  3. Context root of the application

  4. ps.xml file of the application

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

When a URL is hit, the web container first reads the deployment descriptor (web.xml) to determine how to route the request. The deployment descriptor contains servlet mappings, welcome file lists, and other routing rules. The servlet itself is invoked only after this mapping is resolved.