iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)
iTP Secure WebServer System Administrator’s Guide—522659-001
9-1
9
Using NonStop Servlets for JavaServer
Pages With The iTP Secure WebServer
Java
TM
servlets are platform independent server-side programs that programmatically
extend the functionality of web-based applications by providing dynamic content from a
webserver to a client browser over the HTTP protocol.
JavaServer Pages
TM
(JSP
TM
) are an extension of that servlet functionality, primarily
supplying a template of static content to be modified with dynamic content from a
servlet or other programmable resource.
The Compaq implementation of Java servlets for the 5.1 (and later) version of the iTP
Secure WebServer is based on the Java servlet API Specification, Version 2.2. This is
known as NonStop Servlets for JavaServer Pages (NSJSP), with the Compaq product
number T1222.
If you are migrating from a previous version (T0094) please note that although your
servlets will run without modification, the servlet environment is now very different.
Installation and configuration requirements have completely changed, and the servlet
properties file is now obsolete. For further details on migration, consult Migration From
T0094 to T1222 on page 9-40.
This section describes how to use servlets and JSP in the iTP Secure WebServer
environment and how to develop servlets and JSP for use on Compaq systems. It
includes the following subsections:
Overview
•
The Overview (See page 9-3) is a brief description of the main directories and
configuration necessary to get NonStop Servlets for JavaServer Pages up and
running. This is only intended as an overview of the way things work together. (The
examples assume the default location of /usr/tandem/webserver as the root of your
directory structure.)
•
Given this information, you can answer the key question of How To Map From URL
To Servlet on page 9-5.
Concepts
•
Java 2 Enterprise Edition (J2EE) Overview (See page 9-5). This is a general
introduction to J2EE concepts that enable the use of dynamic applications to
communicate over HTTP with client browsers; specifically web containers, servlets,
JSP, Java classes, and deployment descriptors.
•
NonStop Servlets for JavaServer Pages in The iTP WebServer Architecture (See
page 9-10).
This illustrates and discusses the relationships between HTML clients, iTP Secure