How To Register Servlets - Netscape MANAGEMENT SYSTEM 6.01 - CUSTOMIZATION Manual

Table of Contents

Advertisement

How to Register Servlets

Variables Returned by the Base JavaScript (Continued)
Table 1-1
Variable
recordCount
recordSet
result
SERVER_ATTRS
serverAttrsCount
How to Register Servlets
To add your own servlets, modify the
Enterprise Server 6.0 Programmer's Guide to Servlets, Web Applications chapter.
26
Netscape Certificate Management System Customization Guide • May 2002
Format/Type and Description
number
The number of record objects returned in this response. Usually this is
incremented for each record added to the recordSet array. For example,
recordCount = 0;
record.serialNumber = 1;
recordSet[recordCount++] = record;
record.serialNumber = 2;
recordSet[recordCount++] = record;
Array
This array contains any number of record objects. The base JavaScript will
also add recordSet to the result object, so use
result.recordSet[i]. variableName to access individual fields of a
given recordSet element.
Object
The primary container for all of the results returned in this template. The
fixed, header, and recordSet objects are added to the result object as the
last statements in the base JavaScript.
Array
Each element in this array is a name-value pair. These pairs represent variables
and their values that were added by modules internal to the CMS server or
policy plug-ins. For example, if a policy plug-in added a variable called
requestStatus with a value of pending, the resulting JavaScript might be:
header.SERVER_ATTRS[0].name = "requestStatus";
header.SERVER_ATTRS[0].value = "pending";
number
The number of SERVER_ATTRS objects returned in this response.
file, as described in the Netscape
server.xml

Advertisement

Table of Contents
loading

This manual is also suitable for:

Certificate management system 6.01

Table of Contents