iTP Secure WebServer System Administrator's Guide (iTPWebSvr 6.0+)
Contents
iTP Secure WebServer System Administrator’s Guide—523346-002
vii
8. Using Common Gateway Interface (CGI)
Programs (continued)
8. Using Common Gateway Interface (CGI) Programs (continued)
CGI Standard File Environment 8-30
Standard Input 8-30
Standard Output 8-30
Standard Error 8-30
Customizing the Standard File Environment 8-30
CGI Library 8-31
Pathway CGI Coding Considerations 8-33
Including the CGI Library 8-33
Design Guidelines 8-34
Examples of a Pathway CGI Implementation 8-35
9. Using NonStop Servlets for JavaServer Pages (NSJSP)
Overview 9-2
How To Map From URL To Servlet 9-4
Java 2 Enterprise Edition (J2EE) Overview 9-5
The Web Container 9-5
JavaServer Pages 9-7
The Web Application 9-8
The WEB-INF Subdirectory 9-8
The Deployment Descriptor 9-8
Web Archive (WAR) Files 9-9
NonStop Servlets for JavaServer Pages (NSJSP) Architecture 9-9
Installing NonStop Servlets for JavaServer Pages (NSJSP) 9-12
Before You Begin the Installation 9-12
Begin the Installation 9-13
Verify the Installation 9-17
Starting or Restarting NonStop Servlets for JavaServer Pages (NSJSP) 9-17
Possible Error Conditions 9-17
The Web Container and Web Application Environments 9-18
Configuring the Web Container 9-18
servlet.config 9-18
iTP_server.xml 9-21
web.xml 9-22
Configuring the Web Application 9-24
Add a New Web Application 9-25
Deploy an Existing Application WAR file 9-26
Create a New Application 9-26
Compile a Servlet 9-26