
web-apps.xml
Chapter 2 Configuration Files 111
vs auth-native,
class-loader,
form-login-
session,
jsp-servlet,
parameter-
encoding,
response-buffer,
response-cookie,
role-mapping,
session-manager,
session-tracking,
session-cookie,
tempdir, web-app
The top-level element in the
web-apps.xml file.
Subelements other than
web-app set defaults for all
web applications.
web-app auth-native,
class-loader,
filter,
filter-mapping,
jsp-servlet,
parameter-
encoding,
response-buffer,
response-cookie,
role-mapping,
session-manager,
session-tracking,
session-cookie,
tempdir
The web application. A web
application is packaged in a
WARfile and can contain
servlets, JSPs, HTML pages,
class files,andotherresources
of an application.
The subelements of a
web-app element override
the equivalent subelements of
the containing vs element for
that web application.
dir The directory where the web
application contents are
located.
uri The URI that clients use to
access the web application.
This URI can be a regular
expression.
Table 2-26 web-apps.xml
Element/Attribute Allowed Subelements or
Values
Default Value Description
Comentários a estes Manuais