When a request comes from the browser for a static HTML web page, web server retrieves that page and response is given back to browser.
Now, in that HTML page, form is there which requires to access a
servlet. In this case, web server handover the request to application server which in turn will pass to web container. Web container checks the XML file of all the applications to look for the servlet requested. Now XML files dont contain the name of application, so if there are more than 1 applications in web container, which contain servlet of the same name, how would web container know which servlet to access ?
Thanks in advance