Red Hat NETSCAPE ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual do Utilizador Página 16

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 124
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 15
The web-apps.xml File and Virtual Servers
16 iPlanet Web Server, Enterprise Edition Programmer’s Guide to Servlets • May 2001
The web-apps.xml File and Virtual Servers
The web-apps.xml file defines contexts for a set of web applications running in a
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 file follows the standard J2EE deployment descriptor format: a
well-formed .XML document specified by a
.dtd file. The web-apps.xml file
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 iPlanet Web Server that customize how the application is serviced. For example,
a web application can define pluggable session management or specify a java
compiler. The
web-apps.xml file allows users to define a set of global
configuration elements and share (or override) them across multiple web
applications.
Each
web-apps.xml file must be referenced in the server.xml file, which defines
virtual servers. For more information about
server.xml, see the NSAPI
Programmer’s Guide for iPlanet Web Server.
The Default Context for a Virtual Server
When you create a new virtual server, an empty web-apps.xml file is created. You
can use the default context that is created automatically, or you can create your
own by modifying the
web-apps.xml file.
If a
servlets.properties file is present in the default virtual server (in the
config directory of the server instance), an iPlanet Web Server 4.x servlet context is
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 file contains two variables, webapps_enable and webapps_file,
that are relevant to web applications.
webapps_enable 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.
Vista de página 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 123 124

Comentários a estes Manuais

Sem comentários