What Does The Server Need To Run Servlets And Jsp; Enabling Servlets And Jsp - Sun Microsystems Netscape Enterprise Server Administrator's Manual

Table of Contents

Advertisement

What Does the Server Need to Run
Servlets and JSP?
Enterprise Server 4.0 includes the Java Runtime Environment (JRE) but not the
Java Development Kit (JDK). The server can run servlets using the JRE, but it
needs the JDK to run JSP. If you want to run JSP, you must tell the Enterprise
Server to use a custom JDK. Enterprise Server 4.0 requires you to use an official
version of JDK1.2 or higher, available from Sun Microsystems at:
http://www.javasoft.com/products/jdk/1.2/
You can specify the path to the JDK in either of the following ways:
• You can specify the path during the server installation process.
When you install Enterprise Server 4.0, one of the dialog boxes in the
installation process asks if you want to use a custom Java Development Kit
(JDK), and if so, you can specify the path to it.
• You can specify it after the server is installed.
To specify the path to the JDK, use the Configure JRE/JDK Paths page in the
Servlets tab of the Server Manager, as discussed in the "Configuring JRE/JDK
Paths," on page 276.
Whether you specify the path to the JDK during installation or later, the path is
the folder in which you installed the JDK.

Enabling Servlets and JSP

Before Enterprise Server can run servlets, the servlet engine must be enabled.
Before the server can serve JSP, the servlet engine must be enabled and JSP
must be enabled. (The server cannot serve JSP if servlets are not enabled.)
To enable and disabled servlets and JSP in Enterprise Server 4.0, use the
Enable/Disable Servlets page in the Servlets tab in the Server Manager. This
page lets you enable or disable servlets and also enable or disable JSP. If
servlets are disabled, you cannot enable JSP.
If servlets are enabled, JSP can be enabled or disabled. However, if you disable
servlets, JSP is automatically also disabled. In this case, if you enable servlets
later, you will need to re-enable JSP also if desired.
Java Servlets and JavaServerPages (JSP)
Chapter 11, Extending Your Server With Programs 271

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Netscape Enterprise Server and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents