Servlet Output - Netscape ENTERPRISE SERVER 6.1 - PROGRAMMER GUIDE TO SERVLETS Programmer's Manual

Guide to servlets
Table of Contents

Advertisement

Servlet Output

You would also need to include the following in your
<servlet>
<servlet-name> pparams </servlet-name>
<servlet-class> PrintPackage.PrintParams </servlet-class>
</servlet>
<servlet-mapping>
<servlet-name> pparams </servlet-name>
<url-pattern> /PrintParams </url-pattern>
</servlet-mapping>
You must also include any servlet initialization parameters in the
For legacy (iPlanet Web Server 4.x) servlets, the
.class
the servlet is not defined in the
in the same directory as the HTML file containing the
servlets must be configured in the default virtual server and do not require a
web.xml
For more information about SSI commands, see the Netscape Enterprise Server
Programmer's Guide.
Servlet Output
When Enterprise Server is started in the background, which it is by default, the
System.out
Server's error log, because servlets are external to Enterprise Server.
Enter the following command from the server_root
./start -e -o
This command enables
On Windows NT/Windows 2000, you can run Enterprise Server in the Windows
NT/Windows 2000 console, and thus in the foreground, by including the following
line in the
Init fn="nt-console-init" stdout=console stderr=console
36
Netscape Enterprise Server Programmer's Guide to Servlets • April 2002 (Draft)
file for the servlet and is required. The
file.
and
System.err
System.out
file:
magnus.conf
code
codebase
servlets.properties
output of servlets are not sent to the Enterprise
/https-
and
System.err
file:
web.xml
web.xml
parameter specifies the
parameter is required if
file and the
file is not
.class
tag. Legacy
<SERVLET>
server_id directory:
output of servlets.
file.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.1

Table of Contents