|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.ActionForm com.pow2.struts.forms.LoginForm
Login form class.
Wrap the login
and password
values
retrieved from the login form and Validate these fields
against null or blank strings.
Field Summary |
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Constructor Summary | |
LoginForm()
Default constructor. |
Method Summary | |
void |
clear()
Clear the form login and passwd attributes |
String |
getLogin()
Get the login value. |
String |
getPasswd()
Get the password value. |
void |
setLogin(String v)
Set the new login value. |
void |
setPasswd(String v)
Set the new password value. |
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
HttpServletRequest request)
Validate login and password fields. |
Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LoginForm()
login
and password
to blank strings.
Method Detail |
public String getLogin()
public String getPasswd()
public void setLogin(String v)
v
- The new login value.public void setPasswd(String v)
v
- The new password valuepublic org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
login
and password
fields.
mapping
- the ActionMapping object.request
- the HttpServletRequest object.
public void clear()
login
and passwd
attributes
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |