Clarifications for Using Methods
72 iPlanet Web Server, Enterprise Edition Programmer’s Guide to Servlets • May 2001
• Make sure that the session attributes are loaded by the virtual-server-level
class loader. Add any common beans and so on that are going to be used as
session attributes to the classpath there.
<vs>
<class-loader classpath="/myapps/sessionattrs.jar" />
</vs>
This configuration lets you share sessions across all applications within a virtual
server or none at all. For iPlanet Web Server 6.0, there is no way that only a set of
applications can share the same session data.
Clarifications for Using Methods
This section provides clarifications for using the following Servlet 2.2 API methods
with iPlanet Web Server 6.0:
• HttpServlet.service
• ServletContext.getAttribute
• ServletRequest.setAttribute
• ServletRequest.getParameter
• ServletResponse.getOutputStream and getWriter
• RequestDispatcher.forward and include
For the official documentation for the methods discussed here (and for all servlet
API methods) see the Servlets API Javadoc published by Sun Microsystems at:
http://java.sun.com/products/servlet/2.2/javadoc/index.html
Kommentare zu diesen Handbüchern