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 configuration
That is the configuration of the JSP and Servlet containers. The
configuration
is described below, there is only oneconfiguration
per subsystem.connector
That is the description of the
connector
element. There could be more than oneconnector
per subsystem. See connector for more information.virtual-server
That is the description of the
virtual-server
element. There could be more than onevirtual-server
per subsystem. See virtual-server for more information.default-virtual-server
Name of the default
virtual-server
to use.native
Native high performance should used if the libraries are installed. The default value is
true
.
Nested Components
configuration
The
configuration
of Web SubSystem supports the following attributes:
Attribute Description static-resources
A default service for all web applications, that serves static resources. There could be only one
static-resources
perconfiguration
.jsp-configuration
Configuration of the JSP container. There could be only one
jsp-configuration
perconfiguration
.mime-mapping
That 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-mapping
is 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-mapping
perconfiguration
.welcome-file
Welcome files. There could be more than one
welcome-file
perconfiguration
.
mime-mapping
The
mime-mapping
ofconfiguration
Web SubSystem supports the following attributes:
Attribute Description name
File extension to map.
value
Value to use.