com.ibm.btt.cs.servlet
Class CSReqServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.ibm.btt.cs.servlet.CSReqServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- CSEstablishSessionServlet
public class CSReqServlet
- extends javax.servlet.http.HttpServlet
This class implements HTTP specific behavior for saving the information
associated with a session into a database using the HttpSession class
supplied by WebSphere Application Server. To use the data persistence you
must set the value of the tag "channelHandlers.html.requestHandler" of the
btt.xml file to:
com.ibm.btt.cs.html.ext.PersistHtmlRequestHandler
It is also possible to specify whether session affinity exists using the
initialization.sessionAffinity tag in the btt.xml file. By default, session
affinity is assumed. To specify that there is no session affinity, set the
tag's value to "no" (or "false", or "0", or "disable" ). To use this feature,
you must activate the persistence of the session in the WebSphere Application
Server. For more information, see the WebSphere documentation.
- See Also:
- Serialized Form
Method Summary |
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Defines the process flow to execute a request. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSReqServlet
public CSReqServlet()
service
protected void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
java.io.IOException
- Defines the process flow to execute a request. This method is the entry
point for each request coming to this servlet. note This method is valid
for requests sent using the GET method and requests sent using the POST
method.
- Overrides:
service
in class javax.servlet.http.HttpServlet
- Parameters:
req
- HttpServletRequestres
- HttpServletResponse
- Throws:
javax.servlet.ServletException
java.io.IOException
(c) Copyright IBM Corporation 1998, 2009