Multiple choice technology programming languages

In validate method of ActionForm , Parameters are ?

  1. HttpServletReuest reuest, HttpServletResponse response

  2. HttpServletReuest reuest,ActionMapping mapping

  3. ActionMapping mapping,HttpServletReuest reuest

  4. ActionMapping mapping,HttpServletResponse response

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The validate() method in Struts ActionForm has the signature validate(ActionMapping mapping, HttpServletRequest request). It receives the mapping configuration and the current request to perform validation on form data. Option C correctly shows ActionMapping first, then HttpServletRequest.