clipped from: www.vaannila.com   
Struts Validator Framework Tutorial

This tutorial explains the Struts Validation Framework. In this example we create a Login page using DynaValidatorForm and validate the form fields using the Struts Validation Framework.


Struts DynaActionForm Tutorial

In this tutorial you will see how the DynaActionForm eliminates the need to create a seperate ActionForm for each Action class and allows you to easily define the Form object in the xml declaration file.

clipped from: www.vaannila.com   

Struts Validator Framework


The Validator Framework in Struts consist of two XML configuration files. The first one is the validator-rules.xml file which contains the default Struts pluggable validator definitions. You can add new validation rules by adding an entry in this file. The second one is the validation.xml file which contain details regarding the validation routines that are applied to the different Form Beans. These two configuration file should be place somewhere inside the /WEB-INF folder of the application.