iTP Secure WebServer System Administrator's Guide (iTPWebSvr 6.0+)
iTP Secure WebServer System Administrator’s Guide—523346-002
9-1
9
Using NonStop Servlets for
JavaServer Pages (NSJSP)
This section describes how to use NonStop Servlets for JavaServer Pages™
(NSJSP™) in the iTP Secure WebServer environment and how to develop servlets and
the JSP program for use on HP systems. It includes the following subsections:
•
Overview on page 9-2
•
Java 2 Enterprise Edition (J2EE) Overview on page 9-5
•
NonStop Servlets for JavaServer Pages (NSJSP) Architecture on page 9-9
•
Installing NonStop Servlets for JavaServer Pages (NSJSP) on page 9-12
•
Starting or Restarting NonStop Servlets for JavaServer Pages (NSJSP) on
page 9-17
•
The Web Container and Web Application Environments on page 9-18
•
Configuring the Web Container on page 9-18
•
Configuring the Web Application on page 9-24
•
Client Programming Considerations on page 9-29
•
Servlet Programming Considerations on page 9-30
•
JavaServer Pages on page 9-35
•
Logs and Error Conditions on page 9-41
•
Migration From T0094 to T1222 on page 9-43
NonStop Servlets for JavaServer Pages (NSJSP) 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.
NSJSP is 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 HP implementation of NSJSP (product number T1222) for the 5.1 (and later)
version of the iTP Secure WebServer is based on the Java servlet API Specification,
Version 2.2 and JavaServer Pages specification Version 1.1.
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