The Web-Apps.xml File And Virtual Servers; The Default Context For A Virtual Server; Example Server.xml File - Netscape ENTERPRISE SERVER 6.0 - PROGRAMMER GUIDE TO SERVLETS Programmer's Manual

Guide to servlets
Table of Contents

Advertisement

The web-apps.xml File and Virtual Servers

The web-apps.xml File and Virtual Servers
The
web-apps.xml
virtual server. The context information includes a context path of the web
application and other properties such as how it handles session management or
authentication.
The
web-apps.xml
well-formed .XML document specified by a
contains a set of web applications defined by their context path and physical
location.
Each web application may also define a number of configuration elements specific
to Enterprise Server that customize how the application is serviced. For example, a
web application can define pluggable session management or specify a java
compiler. The
configuration elements and share (or override) them across multiple web
applications.
Each
virtual servers. For more information about
Server NSAPI Programmer's Guide.

The Default Context for a Virtual Server

When you create a new virtual server, an empty
can use the default context that is created automatically, or you can create your
own by modifying the
If a
servlets.properties
config
created instead of a web application context. For more information about legacy
configuration, see Chapter 8, "Legacy Servlet and JSP Configuration."

Example server.xml File

The
server.xml
that are relevant to web applications.
webapps_enable
16
Netscape Enterprise Server Programmer's Guide to Servlets • November 2001
file defines contexts for a set of web applications running in a
file follows the standard J2EE deployment descriptor format: a
web-apps.xml
file must be referenced in the
web-apps.xml
web-apps.xml
directory of the server instance), an iPlanet Web Server 4.x servlet context is
file contains two variables,
A true or false variable that allows you to enable or disable
web applications for a virtual server. If not present in a virtual
server definition, web applications are enabled by default.
.dtd
file allows users to define a set of global
server.xml
file.
file is present in the default virtual server (in the
webapps_enable
file. The
web-apps.xml
file, which defines
server.xml
, see the Netscape Enterprise
file is created. You
web-apps.xml
and
webapps_file
file
,

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE ENTERPRISE SERVER 6.0 - PROGRAMMER GUIDE TO SERVLETS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Enterprise server 6.0

Table of Contents