The WEB subsystem
Introduction
The subsystem=web describes how JBoss Web is configured in AS7.
There should be only one jsp-configuration element inside an subsystem=web element.
Attributes
Common Attributes
The Web SubSystem supports the following attributes:
Attribute Description configurationThat is the configuration of the JSP and Servlet containers. The
configurationis described below, there is only oneconfigurationper subsystem.connectorThat is the description of the
connectorelement. There could be more than oneconnectorper subsystem. See connector for more information.virtual-serverThat is the description of the
virtual-serverelement. There could be more than onevirtual-serverper subsystem. See virtual-server for more information.default-virtual-serverName of the default
virtual-serverto use.nativeNative high performance should used if the libraries are installed. The default value is
true.
Nested Components
configuration
The
configurationof Web SubSystem supports the following attributes:
Attribute Description static-resourcesA default service for all web applications, that serves static resources. There could be only one
static-resourcesperconfiguration.jsp-configurationConfiguration of the JSP container. There could be only one
jsp-configurationperconfiguration.mime-mappingThat is the mapping of file extension to the Content-Type mime header. Most of the current file extensions are already hard coded in the web subsystem, you only need to add a
mime-mappingis you want to overwrite the default mapping for a file extension or add a new file extension to the mapping. See below for more. There could be more than onemime-mappingperconfiguration.welcome-fileWelcome files. There could be more than one
welcome-fileperconfiguration.
mime-mapping
The
mime-mappingofconfigurationWeb SubSystem supports the following attributes:
Attribute Description nameFile extension to map.
valueValue to use.



