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

Contents
iTP Secure WebServer System Administrator’s Guide523346-002
viii
9. Using NonStop Servlets for JavaServer Pages
(NSJSP) (continued)
9. Using NonStop Servlets for JavaServer Pages
(NSJSP) (continued)
Deploy a Servlet 9-26
Map Requests to Applications and Servlets 9-28
Client Programming Considerations 9-29
Invoking a Servlet 9-29
Passing Request Information 9-29
Receiving Response Information 9-29
Servlet Programming Considerations 9-30
Servlet Programming Environment 9-30
NonStop Server for Java 9-30
Other Java Environments 9-31
Servlet and NSJSP Examples and References 9-31
Using the Servlet API 9-31
Classes that Facilitate Servlet Usage in an iTP Secure WebServer
Environment 9-32
Obtaining Specific CGI Environment Variable Values 9-33
Context-Management 9-33
Multithreading - Spawning Java Threads 9-34
Request and Response Streams 9-34
Security Considerations 9-34
International Character Set Support 9-35
Reserved Cookie Name 9-35
JavaServer Pages 9-35
Model-View-Controller Designs 9-36
JSP Syntax Basics 9-38
An Example of JSP Code 9-39
How To Handle an HTML Form 9-39
How To Create a Form 9-40
Logs and Error Conditions 9-41
Servlet Logging 9-41
Configuration and Status Information 9-41
Exception Message Format 9-41
Error Messages 9-42
Migration From T0094 to T1222 9-43
Converting to a Web Application Directory Structure 9-44
Changing Your servlet.config File 9-44
Recreating Parameters in the web.xml File 9-44
Changing Your web.xml File 9-45