org.appfuse.webapp.action
Class RegistrationServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.appfuse.webapp.action.RegistrationServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public final class RegistrationServlet
extends HttpServlet

Implementation of HttpServlet that is used to allow users to self-register.

View Source

Version:
$Revision: 1.7 $ $Date: 2004/03/31 13:04:24 $
Author:
Matt Raible
See Also:
Serialized Form

Constructor Summary
RegistrationServlet()
           
 
Method Summary
 void dispatch(HttpServletRequest request, HttpServletResponse response, String jsp)
          Dispatch request to common JSP
 void doGet(HttpServletRequest request, HttpServletResponse response)
          Route the user to the execute method
 void doPost(HttpServletRequest request, HttpServletResponse response)
          Route the user to the execute method
 void execute(HttpServletRequest request, HttpServletResponse response)
          Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).
 void sendPasswordHint(HttpServletRequest request, HttpServletResponse response)
          Process the user's request to get their password e-mailed to them.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, 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
 

Constructor Detail

RegistrationServlet

public RegistrationServlet()
Method Detail

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws IOException,
                  ServletException
Route the user to the execute method

Parameters:
request - The HTTP request we are processing
response - The HTTP response we are creating
Throws:
IOException - if an input/output error occurs
ServletException - if a servlet exception occurs

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws IOException,
                   ServletException
Route the user to the execute method

Parameters:
request - The HTTP request we are processing
response - The HTTP response we are creating
Throws:
IOException - if an input/output error occurs
ServletException - if a servlet exception occurs

execute

public void execute(HttpServletRequest request,
                    HttpServletResponse response)
             throws IOException,
                    ServletException
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it).

Parameters:
request - The HTTP request we are processing
response - The HTTP response we are creating
Throws:
IOException - if an input/output error occurs
ServletException - if a servlet exception occurs

sendPasswordHint

public void sendPasswordHint(HttpServletRequest request,
                             HttpServletResponse response)
                      throws IOException,
                             ServletException
Process the user's request to get their password e-mailed to them.

Parameters:
request - The HTTP request we are processing
response - The HTTP response we are creating
Throws:
IOException - if an input/output error occurs
ServletException - if a servlet exception occurs

dispatch

public void dispatch(HttpServletRequest request,
                     HttpServletResponse response,
                     String jsp)
              throws IOException,
                     ServletException
Dispatch request to common JSP

Parameters:
request -
response -
Throws:
IOException
ServletException


Copyright © 2002-2004