Chapter 11, Extending Your Server With Programs
275
Java Servlets and JavaServerPages (JSP)
additionally provide a servlet virtual path translation for it (as discussed in
“Configuring Servlet Virtual Path Translations” on page 275) to make the servlet
accessible to clients.
Enterprise Server supports the specification of multiple directories, jars, zips,
and URLs in the servlet classpath.
Servlet Args.
If the servlet takes additional parameters, enter them here.
Separate multiple
name
=
value
parameters with a comma. Input must be in
the format
name
=
value
,
name2=value2
....
For example,
arg1=45
,
arg2=online
,
arg3="quick shopping"
.
Configuring Servlet Virtual Path
Translations
One way to make servlets available to clients is to put them in registered servlet
directories. Another way is to define servlet virtual path translations for
individual servlets. For example, you could specify that the URL:
http://poppy.my_domain.com/plans/plan1
invokes the servlet defined in
server_id
/docs/servlets/plans/releaseA/planP2Version1A.class
.
You can set up servlet virtual path translations for servlets that reside anywhere,
be it on a local or remote file system, and be it in or out of a registered servlet
directory.
Before setting up a servlet virtual path translation, the servlet must have been
configured in the Configure Servlet Attributes page of the Servlets tab in the
Server Manager, as discussed “Configuring Servlet Attributes.”
To specify a servlet virtual translation path, use the Configure Servlet Virtual
Path Translation page in the Servlets tab in the Server Manager. This page has
the following fields:
Choose Virtual Path Entry.
Specifies a virtual path to modify. If no virtual
paths have previously been set up, the list is empty. Upon choosing the virtual
path from this drop-down list, the information for the virtual path is displayed
in the page. Ignore this field if you are adding a new virtual path entry.
Summary of Contents for Netscape Enterprise Server
Page 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Page 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Page 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Page 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Page 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Page 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Page 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Page 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Page 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Page 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Page 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Page 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Page 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Page 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Page 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Page 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Page 504: ...504 Netscape Enterprise Server Administrator s Guide ...