이 콘텐츠는 선택한 언어로 제공되지 않습니다.
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.