Sterling Selling and Fulfillment Foundation provides the following extensions for web.xml.
The extension package should have a ".extn" suffix and the "package_name" attribute should be used to specify the package. For example:
<WebComponents Package = "package_name.extn">
Applications have the capability to suppress some common configurations. Applications can suppress these configurations by using the Suppress element. The suppression will be done by removing any element that matches the suppression criteria. For example:
<WebComponents Package = "package_name.extn">
<Suppress>
<servlet><servlet-name>JasperPDFReport</servlet-name></servlet>
servlet-mapping><servlet-name>JasperPDFReport</servlet-name>
</servlet-mapping>
</Suppress>
<web-app>
<!-- All the web.xml pieces needed, in standard web.xml format. -->
</web-app>
</WebComponents>
In this example, all configurations are suppressed in which the servlet element contains a child servlet-name with the given name.