URL Mapping in Servlets.

Hello Friends,

This is one of the interesting tutorials regarding the URL Mapping in Servlets. The thing which makes this interesting is that, the URL that one click on the browser is not the real one but still it displays the result on his interest. This is no magic but the advantage of Servlet that avoids the direct linking to the actual page for the client.

The URL comes within the Servlet Request whenever the link is clicked (or the Submit button is clicked or similar event that navigates the browser to a new page). Now, the question is that How Container knows which url should be mapped with the response. The answer for this is present in the Deployment Descriptor or DD. Continue reading “URL Mapping in Servlets.”