Just learn to use the deployment descriptor correctly, you will be glad in the long run. Incidently, all classes used in servlets should be in packages to avoid annoying error reports and ensure portablility.
Hariom, A servlet definition can have other attributes. Initialization parameters are a common example. If multiple mappings are defined for the same servlet, this would result in the repeated XML without using the servlet-name.