Multiple choice technology web technology

which Method of ActionForm is used for validation ?

  1. validate

  2. validation

  3. both

  4. No such method to validate the Form

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

The validate() method in ActionForm (Struts framework) is used for form validation. This method is called automatically when the form is submitted and returns ActionErrors containing validation failure messages.