Reset () method of ActionForm returns?
-
ActionErrors
-
ActionError
-
void
-
ActionMapping
C
Correct answer
Explanation
The reset() method in ActionForm has return type void. This method is called by the Struts controller to reset the form bean's properties to default values before populating it with new request parameters. The method signature is 'public void reset(ActionMapping mapping, HttpServletRequest request)'. It's not used for validation (that's validate() which returns ActionErrors).