What is ActionForm?
If you want to submit the form and to provide validations we require the Actionform.Inorder to provide validations we can also use the validator.xml file.
org.apache.struts.action.ActionForm is a abstact class given by struts framework.
ActionForm is a data holding Object which hold the user data i.e in the form of Object oriented manner.
If we want perform validation on user data we override the validate() method.
ActionForm also contain reset() method that is used to set the default values to user data.