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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 124
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 80
Configuring Servlets in the Default Virtual Server
Chapter 8 Legacy Servlet and JSP Configuration 81
In detail, to serve servlets in the default virtual server as in iPlanet Web Server 4.x,
do the following steps:
1. Configuring Global Servlet Attributes
2. Registering Servlet Directories
3. Registering Individual Servlets if Needed
4. Specifying Servlet Virtual Paths if Desired
5. Specifying Servlet Contexts if Desired
Configuring Global Servlet Attributes
You can specify the following optional servlet attributes:
Startup Servlets -- servlets to be loaded when the iPlanet Web Server starts up.
Session Manager -- the session manager for servlets. For more information
about the session manager, see Chapter 6, “Session Managers.”
Session Manager Args -- the session manager arguments for the servlet engine.
For more information about the session manager, see Chapter 6, “Session
Managers.”
Reload Interval -- the time period that the server waits before re-loading
servlets and JSPs if they have changed on the server. The default value is 5
seconds.
You can set these attributes interactively in the Legacy Servlets>Configure Global
Servlet Attributes page in the Server Manager interface. Alternatively, you can edit
the configuration files
servlets.properties and contexts.properties in the
server’s
config directory.
Registering Servlet Directories
One of the ways to make a servlet accessible to clients is to put it into a directory
that is registered with the iPlanet Web Server as a servlet directory. Servlets in
registered servlet directories are dynamically loaded when needed. The server
monitors the servlet files and automatically reloads them on the fly as they change.
You can register any number of servlet directories for iPlanet Web Server. Initially,
iPlanet Web Server has a single servlet directory, which is
server_root
/docs/servlet/.
Vista de página 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 123 124

Comentários a estes Manuais

Sem comentários