Multiple choice technology programming languages

Identify the steps to integrate validator framework in struts? a)Copy validation.xml and validation rules.xml to web-inf directory b)Add errors in resource bundle c)Include validation plug-ins in struts- config.xml d)Add validation plug-ins in web.xml and struts-config.xml e)Add validation plug ins in web.xml f)Include the required form in tag in validation.xml g)include required fields in tag in validation.xml

  1. a,f,g,b

  2. a,g,b

  3. a,b,c,d,e,f

  4. c,a,f,g,b

  5. e,a,f,g,b

  6. d,a,f,g,b

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

The correct sequence for integrating the Struts validator framework is: c) include validation plug-ins in struts-config.xml, a) copy validation.xml and validator-rules.xml to web-inf, f) include the required form in formset tag in validation.xml, g) include required fields in form tag, b) add errors in resource bundle for messages.