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

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

The 'validating' init-param of ActionServlet controls whether Struts validates its configuration file against the DTD. When set to true, it bypasses this validation (option B). It does NOT bypass ActionForm validation (A) - that's controlled differently. Option C is incorrect as message key errors are handled separately.