Multiple choice technology programming languages

The validating init-param of the ActionServlet is used to

  1. Bypass calls to the ActionForm validate method

  2. Bypass validation of the Struts configuration file

  3. Generate an error message if an unknown message key is used

  4. None of Above

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

The 'validating' init-param in ActionServlet controls whether Struts validates its configuration file (struts-config.xml). Setting it to 'false' or 'no' bypasses this validation during startup. This is useful for faster development cycles or when you're confident the config is correct.