org.apache.struts.webapp.example
Class SaveRegistrationAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended byorg.apache.struts.webapp.example.SaveRegistrationAction

public final class SaveRegistrationAction
extends org.apache.struts.action.Action

Implementation of Action that validates and creates or updates the user registration information entered by the user. If a new registration is created, the user is also implicitly logged on.

Version:
$Revision: 187140 $ $Date: 2004-07-30 00:23:04 +0200 (Fri, 30 Jul 2004) $

Field Summary
private  org.apache.commons.logging.Log log
          The Log instance for this application.
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
SaveRegistrationAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private org.apache.commons.logging.Log log
The Log instance for this application.

Constructor Detail

SaveRegistrationAction

public SaveRegistrationAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws Exception
Throws:
Exception


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.