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



Contents


About This Book
iPlanet Web Server, FastTrack Edition Overview
Book Summary


Chapter 1 Using Servlets and JavaServer Pages
Servlets
JavaServer Pages
What Does the Server Need to Run Servlets and JSP?
Serving Servlets and JSP
Using the Server Manager Interface
Activating Servlets and JSP
Configuring Global Servlet Attributes
Registering Servlet Directories
Registering Individual Servlets
Specifying Servlet Virtual Paths
Specifying Servlet Contexts
Servlet Output
Configuring JRE/JDK Paths
Deleting Version Files
Configuring JVM
Running 0.92 JSP
Maximizing Servlet Performance


Chapter 2 Servlet and JSP Examples
Examples Shipped with iPlanet Web Server 4.1
Servlet Examples
A Simple Servlet Example
Example of a Servlet that Counts Visits
JSP Examples
JSP that Accesses the Request Object
JSP that Responds to a Form and Uses Java Beans
Creating a JSP Custom Tag Library


Appendix A Session Managers
Session Overview
Specifying a Session Manager
SimpleSessionManager
Parameters
Enabling SimpleSessionManager
Source Code for SimpleSessionManager
JdbcSessionManager
Parameters
Enabling JdbcSessionManager
Source Code for JDBCSessionManager
How Do Servlets Access Session Data?


Appendix B Servlet Settings in obj.conf
Directives for Enabling Servlets
Directives for Registered Servlet Directories
JSP


Appendix C Properties Files
servlets.properties
rules.properties
Using Regular Expressions in rules.properties
contexts.properties
isModifiedCheckAggressive
parameterEncoding
sessionExpireOnClose
singleClassLoader


Appendix D JVM Configuration

Appendix E Debugging Servlets and JSPs
Servlet Debugging
JSP Debugging


Appendix F Remote Servlet Profiling

Appendix G API Clarifications
Clarifications for Using Methods
HttpUtils.getRequestURL
HttpServletRequest.getContextPath
HttpServletRequest.getUserPrincipal
HttpServletRequest.isUserInRole
HttpSession.setMaxInactiveInterval
GenericServlet.getInitParameter and getInitParameterNames
ServletContext.getAttributeNames
ServletContext.getContext
ServletContext.getRealPath
ServletContext.getResourceAsStream
ServletRequest.getAttribute
ServletRequest.getParameter
RequestDispatcher.forward and include
Request.getInputStream and getReader
Other Useful Information
Database Connection Pooling
Fetching the Client Certificate
Index


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

Last Updated July 13, 2000