Show Table of Contents
4.2. Configuring the JBoss Web Container
The JBoss Web container configuration defines how the container handles the execution and deployment of web application. The configuration is loaded and applied on the server startup: therefore, changes made to the configuration are not applied to the running server.
The JBoss Web behavior can be configured using Tag Library Descriptor (TLD) configuration files:
server.xml- The
server.xmlis the main JBoss Web server configuration file (for further details refer to Section 4.3, “The Main Config File”) web.xml- The
web.xmlfile is a deployment descriptor defining URL mappings to servlets (defines how web applications are executed)Important
There are two types ofweb.xml: the globalweb.xmlvalid for the entire server and the localweb.xmlvalid for a web application. The local file overrides the globalserver.xmlfile for the given web application.The globalweb.xmlfile is located indirectory, while the web-application specific file is located in the$JBOSS_SERVER_HOME/deployers/jbossweb.deployer/WEB-INF/directory of the web application.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.