NonStop Servlets for JSP System Administrator's Guide
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-001
3-1
3 Configuring NSJSP
The information discussed in this section includes the following:
•
Configuring the Web Container on page 3-1
•
Configuring Web Applications on page 3-10
•
Configuring the Security Manager on page 3-16
•
Configuring Virtual Hosting on page 3-18
•
Configuring Realms on page 3-19
•
Configuring Single Sign-On Support on page 3-32
•
Configuring Persistent Sessions on page 3-34
Configuring the Web Container
Several configuration files support the NSJSP servlet container environment and web
applications. A web application is a collection of servlets, HTML pages, images, JSP
pages, a deployment descriptor, and other configuration files all in one location. The
web application is organized as a structured hierarchy of directories that can be
packaged or unpackaged from a web application archive (WAR) file. The three main
configuration files are listed and briefly described below. These configuration files
contain default values and, in most cases, you do not need to make any changes to
them.
servlet.config contains the configuration information required for the NSJSP
ServerClass and the file mapping for the iTP WebServer. This file is located in the
ITPWS_INSTALL_DIR/conf directory.
iTP_server.xml contains the initial attributes of the web container to work with the iTP
WebServer. The file is located in the webserver’s
ITPWS_INSTALL_DIR/servlet_jsp/conf directory.
web.xml contains configuration contexts for a web application. The default version
located in the webserver’s ITPWS_INSTALL_DIR/servlet_jsp/conf directory is
the default used by all web applications hosted by this environment. Each web
application can create an application-specific version used to support that application's
specific servlet and JSP initializations.