com.pchauvet.struttlogin
Class LogoffForm

java.lang.Object
  |
  +--org.apache.struts.action.ActionForm
        |
        +--com.pchauvet.struttlogin.LogoffForm
All Implemented Interfaces:
java.io.Serializable

public class LogoffForm
extends org.apache.struts.action.ActionForm

The MVC controller validating the entries. It captures the business rule for the User login of which they are none.

Version:
1.0. Dated 01/13/2003 - 01/26/2003
Author:
Philip Jahmani Chauvet. abc1260@aol.com
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
LogoffForm()
           
 
Method Summary
 com.pchauvet.struttlogin.SecureUserBean getUser()
           
 void reset(org.apache.struts.action.ActionMapping m_mapping, javax.servlet.http.HttpServletRequest m_req)
          Reset all properties to their default values.
 void setUser(com.pchauvet.struttlogin.SecureUserBean m_userbean)
          Set the SecureUserBean data member.
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping m_mapping, javax.servlet.http.HttpServletRequest m_req)
          1.
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogoffForm

public LogoffForm()
Method Detail

setUser

public void setUser(com.pchauvet.struttlogin.SecureUserBean m_userbean)
Set the SecureUserBean data member.


getUser

public com.pchauvet.struttlogin.SecureUserBean getUser()
Returns:
SecureUserBean The SecureUserBean data member

reset

public void reset(org.apache.struts.action.ActionMapping m_mapping,
                  javax.servlet.http.HttpServletRequest m_req)
Reset all properties to their default values.

Overrides:
reset in class org.apache.struts.action.ActionForm

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping m_mapping,
                                                      javax.servlet.http.HttpServletRequest m_req)
1. Validate the data entry form.
2. Return an ActionErrors

Overrides:
validate in class org.apache.struts.action.ActionForm
Parameters:
m_mapping - The m_mapping used to select this instance
m_req - The servlet req we are processing
Returns:
ActionErrors The form errors, or null


Back to the Web Application
Copyright © 2003 Philip Chauvet: (718) 241.3602 or abc1260@aol.com.
Permission is granted to reuse and distribute for commercial or personal use.
I am looking for work and would appreciate doing business with you and developing J2EE applications for you.