uk.ac.ebi.intact.application.search2.struts.view
Class WelcomeForm
java.lang.Object
|
+--org.apache.struts.action.ActionForm
|
+--uk.ac.ebi.intact.application.search2.struts.view.WelcomeForm
- All Implemented Interfaces:
- java.io.Serializable
- public class WelcomeForm
- extends org.apache.struts.action.ActionForm
Dummy form bean for the welcome page. It allows us to use
the struts Action mechanism to set up the necessary DB classes
for use in a user search session.
- Version:
- $Id: WelcomeForm.java,v 1.1 2003/08/28 15:53:36 skerrien Exp $
- Author:
- Chris Lewington
- See Also:
- Serialized Form
| Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
|
Method Summary |
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values. |
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Validate the properties that have been set from the HTTP request. |
| Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WelcomeForm
public WelcomeForm()
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Validate the properties that have been set from the HTTP request.
- Overrides:
validate in class org.apache.struts.action.ActionForm
- Parameters:
mapping - the mapping used to select this instancerequest - the servlet request we are processing
- Returns:
- ActionErrors object that contains validation errors. If
no errors are found, null or an empty ActionErrors
object is returned.
reset
public void reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Reset all properties to their default values.
- Overrides:
reset in class org.apache.struts.action.ActionForm
- Parameters:
mapping - the mapping used to select this instancerequest - the servlet request we are processing
IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk