iTP Secure WebServer System Administrator's Guide (iTPWebSvr 6.0+)

Using NonStop Servlets for JavaServer Pages
(NSJSP)
iTP Secure WebServer System Administrator’s Guide523346-002
9-18
The Web Container and Web Application
Environments
The Web Container and Web Application
Environments
The configuration process includes:
Configuring the Web Container on page 9-18 shows the directory structures and
configuration files that support the web container environment. These configuration
files contain default values. In most cases you do not need to make any changes to
them.
Configuring the Web Application on page 9-24 shows the directory structures for
applications and the changes you make to the configuration files in order to host an
application and deploy its servlets.
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.
The servlet.config file contains the configuration information required for the NSJSP
server class and the file mapping for the iTPWebServer. This file is located in the
webserver’s /conf directory.
The iTP_server.xml file contains the initial attributes of the web container to work with
the iTPWebServer. The file is located in the webserver’s /servlet_jsp/conf
directory.
The web.xml file contains configuration contexts for servlets. A default version is
located in the webservers /servlet_jsp/conf directory that is 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
initializations.
servlet.config
This file contains the configuration information required for the servlet server class and
the filemap. The file is located (by default) in /usr/tandem/webserver/conf.
When you run a new installation (of T1222) for the first time, for security purposes, the
./setupjava script will automatically make a backup of any pre-existing