I have different webapps that share a large portion of the web.xml configuration. For example, the way some servlets are mapped is identical for all apps, but some webapps h
If you deploy your apps on glassfish, than you can put your common configuration in default-web.xml file under the domain-dir\config\ location.
default-web.xml
domain-dir\config\