Next | Index | Bookshelf

Programmer's Guide to Servlets


Contents

About This Book

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
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

Appendix A  Session Managers

Session Overview
Specifying a Session Manager
SimpleSessionManager
Parameters
Enabling SimpleSessionManager
Source Code for SimpleSessionManager
MMapSessionManager
Parameters
Enabling MMapSessionManager
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
contexts.properties

Appendix D  JVM Configuration

Appendix E  Debugging Servlets and JSPs

Servlet Debugging
JSP Debugging

Appendix F  Remote Servlet Profiling

Appendix G  API Clarifications

HttpUtils.getRequestURL
HttpSession.setMaxInactiveInterval
GenericServlet.getInitParameter and getInitParameterNames
ServletContext.getAttributeNames
ServletContext.getContext
ServletRequest.getAttribute
RequestDispatcher.forward and include
Request.getInputStream and getReader

Index


Table of Contents | Previous | Next | Index

Last Updated: 02/25/00 16:19:07

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