Class UserRegistrationForm

  extended byorg.apache.struts.action.ActionForm
      extended byorg.apache.struts.action.DynaActionForm
          extended byorg.apache.struts.validator.DynaValidatorForm
              extended byorg.davesag.generica.servlet.form.UserRegistrationForm
All Implemented Interfaces:
DynaBean, Serializable

public class UserRegistrationForm
extends DynaValidatorForm

The UserRegistrationForm is used to check the validity of the user registration data.

Generica 1.0
CVS Revision $Id:,v 1.6 2004/03/30 13:00:42 davesag Exp $
Dave Sag
See Also:
Serialized Form

Field Summary
Fields inherited from class org.apache.struts.validator.DynaValidatorForm
page, validatorResults
Fields inherited from class org.apache.struts.action.DynaActionForm
dynaClass, dynaValues
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
Constructor Summary
Method Summary
 ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
          checks that the password and verifypassword fields match.
Methods inherited from class org.apache.struts.validator.DynaValidatorForm
getPage, getResultValueMap, getValidatorResults, log, log, reset, setPage, setValidatorResults
Methods inherited from class org.apache.struts.action.DynaActionForm
contains, get, get, get, getDynaClass, getDynaProperty, getMap, initialize, isDynaAssignable, remove, reset, set, set, set, toString
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, setMultipartRequestHandler, setServlet, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.commons.beanutils.DynaBean
contains, get, get, get, getDynaClass, remove, set, set, set

Constructor Detail


public UserRegistrationForm()
Method Detail


public ActionErrors validate(ActionMapping mapping,
                             HttpServletRequest request)
checks that the password and verifypassword fields match. Note that this could be better done using the apache validation framework, thus eliminating the need for this form bean at all.

mapping - the struts action mapping.
request - the http request.
any action errors.

Dave Sag Generica API version 0.5.9 - (prerelease) Copyright 2003 - 2004 Dave Sag.