Index     DocHome     Next     
iPlanet Web Server, Enterprise Edition Programmer's Guide to Servlets



Contents


About This Book

Chapter 1 Servlets and JavaServer Pages
Web Applications
Servlets
JavaServer Pages


Chapter 2 Web Applications
Web Application Structure
Dynamic Reconfiguration
web.xml Clarifications
login-config
security-constraint
session-timeout
The web-apps.xml File and Virtual Servers
The Default Context for a Virtual Server
Example server.xml File
Example web-apps.xml File
web-apps.xml Element Reference
auth-native
class-loader
description
filter, filter-mapping
form-login-session
init-param
jsp-servlet
param-name
param-value
parameter-encoding
response-buffer
response-cookie
role-mapping
session-cookie
session-manager
session-tracking
tempdir
vs
web-app
Deploying a Web Application using wdeploy
Web Application Examples


Chapter 3 Using Servlets
What Does the Server Need to Run Servlets?
Using the User Interface
Enabling Servlets
Making Servlets Available to Clients
The <SERVLET> SHTML Tag
Servlet Output
Configuring JVM
Maximizing Servlet Performance


Chapter 4 Using JavaServer Pages
What Does the Server Need to Run JSP?
Configuring JRE/JDK Paths
Using the User Interface
Enabling JSPs
Making JSPs Available to Clients
Deleting Cache Version Files
The JSP Command-Line Compiler
Package Names Generated by the JSP Compiler
Specifying that JSPs Are Precompiled
Other JSP Initialization Parameters
JSP Tag Libraries and Standard Portable Tags


Chapter 5 Debugging Servlets and JSPs
Servlet Debugging
JSP Debugging
Generating a Stack Trace for Debugging
Using Forte for Java to Debug Servlets and JSPs
JPDA Options for Debugging


Chapter 6 Session Managers
Session Overview
Specifying a Session Manager
IWSSessionManager
Parameters for IWSSessionManager
Enabling IWSSessionManager
Source Code for IWSSessionManager
MMapSessionManager (Unix Only)
Parameters
Enabling MMapSessionManager
Deleting SessionData Version Files
Deprecated Session Managers
SimpleSessionManager
JdbcSessionManager
Load Balancing, Session Failover, and Session IDs


Chapter 7 API Clarifications
Clarification of HttpSession Scope
Clarifications for Using Methods
HttpServlet.service
ServletContext.getAttribute
ServletRequest.setAttribute
ServletRequest.getParameter
ServletResponse.getOutputStream and getWriter
RequestDispatcher.forward and include
Other Useful Information
Database Connection Pooling
Fetching the Client Certificate


Chapter 8 Legacy Servlet and JSP Configuration
The Default Virtual Server
Enabling Servlets and JSP
Making JSPs Available to Clients
Configuring Servlets in the Default Virtual Server
Configuring Global Servlet Attributes
Registering Servlet Directories
Registering Individual Servlets
Specifying Servlet Virtual Paths
Specifying Servlet Contexts
Using the User Interface
Legacy Configuration Files
servlets.properties
rules.properties
contexts.properties
Legacy Examples
Maximizing Legacy Servlet Performance


Appendix A Servlet Settings in magnus.conf and obj.conf
Init Directives in magnus.conf
Objects in obj.conf
Directives for Registered Servlet Directories
JSP Directives


Appendix B Converting SSJS Applications
Differences Between JavaScript and Java
JavaScript to Java Class Conversions
Conversion Steps
Example Conversion


Appendix C JVM Configuration
The jvm12.conf File
Using JVM Environment Variables
jvm12.conf Parameter Reference


Appendix D Remote Servlet Profiling
The Optimizeit! Profiler
The HPROF Profiler
Index


Index     DocHome     Next     
Copyright © 2001 Sun Microsystems, Inc. Some preexisting portions Copyright © 2001 Netscape Communications Corp. All rights reserved.

Last Updated May 02, 2001