Chapter 11, Extending Your Server With Programs
271
Java Servlets and JavaServerPages (JSP)
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.
Summary of Contents for Netscape Enterprise Server
Page 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Page 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Page 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Page 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Page 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Page 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Page 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Page 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Page 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Page 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Page 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Page 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Page 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Page 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Page 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Page 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Page 504: ...504 Netscape Enterprise Server Administrator s Guide ...