Show TOC Start of Content Area

Background documentation Default Configurations of the Web Container  Locate the document in its SAP Library structure

The Web Container introduces global Web descriptors to define configurations that are global (that is, they are applied to all Web applications deployed on it). These are the global-web.xml and the web-j2ee-engine.xml descriptors. They have the same DTD as the web.xml and the web-j2ee-engine.xml descriptors, respectively, that you use to configure your Web applications. The global descriptors are used by the Web Container to configure several Web components that it uses internally to provide important functions that are specific for the J2EE Engine’s architecture, as well as to deliver ready-to-use Web-based solutions that cover specific application scenarios.

Any configurations that you make in the deployment descriptors of your Web applications override the configurations in the global descriptor. For example, if you map a servlet to a URL pattern in the web.xml descriptor of your Web application, and another servlet is mapped to the same pattern in the global-web.xml descriptor, then the first configuration overrides the second.

Recommendation

We recommend that you avoid mapping servlets in your Web applications to the same URL patterns that default servlets are mapped to in the global-web.xml. This would switch off the default implementation, and if you do not provide an appropriate alternative implementation in your Web application, the proper functioning of your application is not guaranteed.

If you want to make any changes to the default configurations in the global-web.xml or web-j2ee-engine.xml files or to add new global configurations, you must edit them using the editor provided by the Configuration Adapter Service. For more information on doing this, see Editing the Global Deployment Descriptors.

Default Configurations

The global Web descriptors provide the following default configurations:

·        Default Implementation of HTTP PUT Method

·        Providing Long-lived Request and Response Objects

·        JSP Servlet

·        Invoker Servlet

·        Default Servlet

·        ChangePasswordForm Servlet

 

End of Content Area