Thanks for the quick reply.
Can you please elaborate?
Yes,even if there are many mapping,in my example i am just trying to remove the occurance of the <servlet-name> ,along with the <servlet-mapping> tag as a whole.
With only 1 <servlet-name> can't it be made possible to pick the servlet having a particular URL Pattern?
The whole mechanism is designed to maximize abstraction and flexibility. Although at first glance, it certainly can seem confusing.
Often you only have a simple URL pattern(s) that you want to feed to a servlet, but sometimes you need more. Furthermore, by giving a servlet a logical name instead of pointing the URLs directly to the physical servlet, you have the flexibility to shift URLs to an alternative servlet (for example, a debugging version of the original servlet) and minimise the number of web.xml entries you need to modify to do that on a selective basis.
When it comes to destroying a civilization, gas chambers cannot hold a candle to echo chambers.