Enabling Jsps; Making Jsps Available To Clients; Deleting Cache Version Files - Netscape ENTERPRISE SERVER 6.1 - PROGRAMMER GUIDE TO SERVLETS Programmer's Manual

Guide to servlets
Table of Contents

Advertisement

Enabling JSPs

The Java Web Apps Settings Page
Enabling JSPs
To enable JSPs, follow these steps:
Enable servlets. Select the Java tab in the Server manager, then select the
1.
Enable/Disable Servlets/JSP tab. Check the Enable Java Globally box to enable
servlets for the entire server. Check the Enable Java for Class box to enable
servlets for a single virtual server class. You cannot enable servlets for a class
unless Java is globally enabled. By default, Java is globally enabled and
enabled for each virtual server class.
Include the
2.
file. For more information about the
Applications."
Add
3.
"JVM Configuration."

Making JSPs Available to Clients

You can make JSPs accessible to clients in one of these two ways:
Include the JSPs in web applications and deploy those web applications. How
to do this is described in Chapter 2, "Web Applications."
Configure the JSPs in the default virtual server. This is provided for backward
compatibility with iPlanet Web Server 4.x. How to do this is described in
Chapter 8, "Legacy Servlet and JSP Configuration."

Deleting Cache Version Files

The server uses the following directory to cache information for JavaServer Pages
(JSP):
server_root/https-server_id/ClassCache/virtual_server_id/webapp_uri/
You can change the location of the JSP class cache using the
initialization parameter of the
more information, see "Other JSP Initialization Parameters," on page 47.
44
Netscape Enterprise Server Programmer's Guide to Servlets • April 2002 (Draft)
jsp-servlet
to the JVM classpath. For more information, see Appendix C,
tools.jar
element with
enable="true"
web-apps.xml
element in the
jsp-servlet
in the
web-apps.xml
file, see Chapter 2, "Web
scratchdir
file. For
web-apps.xml

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.1

Table of Contents