To specify a form-bean of dynamic validation form, which of the following is used in <form-bean> tag

Options
- type="org.apache.struts.validator.DynaValidationForm"
- type="org.apache.struts.validator.DynaValidatorForm"
- type="org.apache.struts.validator.DynaValidateForm"
- type="org.apache.struts.validator.DynaValid Form”


CORRECT ANSWER : type="org.apache.struts.validator.DynaValidatorForm"

Discussion Board
Formtag

To use the >lform-bean< tag type="org.apache.struts.validator.DynaValidatorForm" is used as it specifies the dynamic validation form. The class of this extends DynaActionForm and provides basic field validation based on an XML file. The key passed into the validator is the action element's 'name' attribute from the struts-config.xml which should match the form element's name attribute in the validation.xml.

Rohit Sharma 10-15-2014 04:10 PM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement