The web-apps.xml File and Virtual Servers
Chapter 2 Web Applications 19
<session-tracking use-cookies="true" />
<!-- Define the web applications for this virtual server-->
<!-- catalog application -->
<web-app uri="/catalog" dir="/webapps/catalog">
<!-- Specify a tempory directory. A path returned in the
"javax.servlet.context.tempdir" property; -- defaults to
WEB-INF/tmp. -->
<tempdir dir=’/var/catalog/tmp’/>
<!-- reload classes at every 5 minutes; also include mycatlog.jar
file in the classpath -->
<class-loader reload-interval=’300’
classpath=’/home/work/mycatalog.jar’ />
</web-app>
</vs>
web-apps.xml Element Reference
This section shows the elements allowed in a web-apps.xml file. These elements
are defined in the master
dtd file.
auth-native
Configures a specific native user/group database for authentication and role
mapping. If this element is not specified, authentication is enabled using the native
default authentication database.
Subelements: none
Attributes:
authdb The native authentication database. This database must also
be defined in the server.xml file in the database attribute
of a USERDB element, and in the dbswitch.conf file.
Comentários a estes Manuais