NonStop Servlets for JavaServer Pages (5.0) System Administrator's Guide
Contents
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-002
vii
Examples (continued)
Examples (continued)
Example 3-3. Basic Structure of iTP_server.xml 3-9
Example 3-4. iTP_server.xml Statements 3-10
Example 3-5. Setting the Context Path 3-10
Example 3-6. Setting the Reloadable Attribute 3-11
Example 3-7. Preloading Servlets 3-12
Example 3-8. Defining a Session Timeout Value 3-12
Example 3-9. Initializing Servlets 3-13
Example 3-10. Sample Application Directory Structure on OSS 3-14
Example 3-11. Deploying a Servlet 3-19
Example 3-12. How to Set the MIME Type 3-19
Example 3-13. Mapping a URL to the Servlet 3-21
Example 3-14. Java Policy File Entry 3-21
Example 3-15. Policy File Entry for the NSJSP Container 3-23
Example 3-16. Starting NSJSP With a Security Manager 3-25
Example 3-17. Troubleshooting the NSJSP Security Manager 3-26
Example 3-18. Default Security Property File 3-27
Example 3-19. Configuring Virtual Hosting 3-28
Example 3-20. Adding an XML Element to Configure a Realm 3-29
Example 3-21. Default User File Format 3-31
Example 3-22. SQL Commands to Add Users and User Roles 3-32
Example 3-23. SQLCI Commands to Create and Load the JDBCRealm 3-33
Example 3-24. Using the SQL/MP Database to Specify JDBCRealm Attributes 3-35
Example 3-25. LDBM Database Definitions 3-38
Example 3-26. User and Role Definitions 3-39
Example 3-27. Realm Element for the OpenLDAP Directory Server 3-40
Example 3-28. Realm Element in the iTP Web Server Configuration File 3-42
Example 3-29. DataSourceRealm 3-43
Example 3-30. UserDatabaseRealm 3-44
Example 3-31. Configuring Single Sign-On Support 3-47
Example 3-33. Adding Extra Partitions to Support Persistent Sessions 3-50
Example 3-32. SQL Script for Configuring Persistent Sessions 3-50
Example 3-34. Adding Partitions Using the SQLCI ALTER TABLE Command 3-51
Example 3-35. Using the NSJSPStandardManager 3-53
Example 3-36. Using the NSJSPPersistentManager 3-58
Example 4-1. Use of getAttribute() Method to Obtain Environment Variables 4-6
Example 5-1. Message Box 5-4
Example 5-2. NSJSP Status Summary Manager Area 5-9
Example 5-3. NSJSP Status Summary Information Area 5-9