Directives For Registered Servlet Directories; Jsp Directives - Netscape ENTERPRISE SERVER 6.0 - PROGRAMMER GUIDE TO SERVLETS Programmer's Manual

Guide to servlets
Table of Contents

Advertisement

Directives for Registered Servlet Directories

Directives for Registered Servlet Directories
NOTE
For each registered servlet directory, the default object in
NameTrans
that directory. For example:
NameTrans fn="pfx2dir" from="/servlet"
dir="D:/netscape/server4/docs/servlet" name="ServletByExt"
A separate object named
servlets:
<Object name="ServletByExt">
ObjectType fn="force-type" type="magnus-internal/servlet"
Service type="magnus-internal/servlet" fn="NSServletService"
</Object>
Do not delete this object, even if no servlet directories are currently registered. If
this object is deleted, you can no longer use the Server Manager interface to register
servlet directories.

JSP Directives

The following line in
type=magnus-internal/jsp exts=jsp
The following directive in
type
Service fn="NSServletService" type="magnus-internal/jsp"
102
Netscape Enterprise Server Programmer's Guide to Servlets • November 2001
The information in this section applies to legacy (iPlanet Web Server
4.x) servlets and is deprecated.
directive that assigns the name
ServletByExt
mime.types
magnus-internal/jsp
ServletByExt
has instructions for processing requests for
sets the type for files with the extension
handles the processing of requests for files of
obj.conf
(that is, JSP files). It is necessary for legacy JSPs only.
has a
obj.conf
to all requests to access
.jsp
:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents