Multiple choice technology platforms and products

A developer wants to customize the Struts configuration file to support form field validation. What needs to be enabled to make the Store Struts application aware of the Validator framework?

  1. CustomPlugin

  2. ValidatorPlugIn

  3. FormValidationPlugin

  4. DefaultValidationPlugin

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

The ValidatorPlugIn is the Struts plugin that integrates the Apache Commons Validator framework into a Struts application. It must be configured in struts-config.xml to enable declarative form validation rules, which the framework then processes automatically when forms are submitted.