Specifying Servlet Contexts; Using The User Interface - Netscape ENTERPRISE SERVER 6.0 - PROGRAMMER GUIDE TO SERVLETS Programmer's Manual

Guide to servlets
Table of Contents

Advertisement

Using the User Interface

Specify the virtual path for the servlet.
2.
In the Legacy Servlets>Configure Servlet Virtual Path Translations page, do
the following:
Save the changes.
To do this programmatically, add the following line to
/plans/plan1=plan1A
After this virtual servlet path has been established, if a client sends a request to
the server for the
sends back the results of invoking the servlet in
server_root

Specifying Servlet Contexts

Contexts allow multiple servlets to exchange data and access each other's fields.
Contexts are useful for defining virtual servers or for code isolation. You define
contexts in the
Using the User Interface
For information about using the user interface to specify settings for legacy servlets
and JSPs, see the following topics in the online help.
This page is located in the Web Server Administration Server on the Global
Settings tab.
The Configure JRE/JDK Paths Page
88
Netscape Enterprise Server Programmer's Guide to Servlets • November 2001
In the Virtual Path field, enter the virtual path name. Note that the server
name is implied as a prefix, so in this case you would only need to enter
to specify the virtual path
/plans/plan1
http://poppy.example.com/plans/plan1
In the Servlet field, enter the identifier for the servlet that is invoked by this
virtual path. This is the servlet identifier that you specified in the
Configure Servlet Attributes page, which in this case is
URL http://poppy.netscape.com/plans/plan1
/docs/servlet/plans/releaseA/plan2PVersion1A.class
servlets.properties
.
rules.properties
and
contexts.properties
.
plan1A
:
, the server
.
files.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents