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.
Содержание Netscape Enterprise Server
Страница 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Страница 31: ...Part 1 Server Basics 31 1 Server Basics Introduction to Enterprise Server Administering Enterprise Servers ...
Страница 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Страница 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Страница 64: ...Migrating a Server From a Previous Version 64 Netscape Enterprise Server Administrator s Guide ...
Страница 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Страница 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Страница 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Страница 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Страница 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Страница 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Страница 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Страница 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Страница 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Страница 390: ...Customizing the Web Publisher User Interface 390 Netscape Enterprise Server Administrator s Guide ...
Страница 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Страница 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Страница 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Страница 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Страница 504: ...504 Netscape Enterprise Server Administrator s Guide ...