Download Programmer`s Guide Netscape Enterprise Server

Transcript
web-apps.xml
Table 2-26
web-apps.xml
Element/Attribute
Allowed Subelements or
Values
Default Value
Description
vs
auth-native,
class-loader,
form-loginsession,
jsp-servlet,
parameterencoding,
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,
parameterencoding,
response-buffer,
response-cookie,
role-mapping,
session-manager,
session-tracking,
session-cookie,
tempdir
The web application. A web
application is packaged in a
WAR file and can contain
servlets, JSPs, HTML pages,
class files, and other resources
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.
Chapter
2
Configuration Files
111