public class LogoutServlet extends HttpServlet
init-param for the servlet.
Copyright 2006 Sans Pareil Technologies, Inc.
| Constructor and Description |
|---|
LogoutServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Initialise this servlet instance.
|
protected void |
invalidate(HttpServletRequest request)
Invalidate the current HTTP session and display a standard page
that lets the user restart a new session.
|
protected void |
service(HttpServletRequest request,
HttpServletResponse response)
Process HTTP requests.
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logpublic void init()
init in class GenericServletprotected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
service in class HttpServletServletExceptionIOExceptioninvalidate(javax.servlet.http.HttpServletRequest)protected void invalidate(HttpServletRequest request)
request - The request whose session is to be invalidated.