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.
Содержание Netscape Enterprise Server
Страница 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Страница 31: ...Part 1 Server Basics 31 1 Server Basics Introduction to Enterprise Server Administering Enterprise Servers ...
Страница 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Страница 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Страница 64: ...Migrating a Server From a Previous Version 64 Netscape Enterprise Server Administrator s Guide ...
Страница 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Страница 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Страница 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Страница 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Страница 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Страница 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Страница 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Страница 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Страница 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Страница 390: ...Customizing the Web Publisher User Interface 390 Netscape Enterprise Server Administrator s Guide ...
Страница 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Страница 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Страница 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Страница 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Страница 504: ...504 Netscape Enterprise Server Administrator s Guide ...