Hello , I am a bit confused about the validation framework specifically about the differences between version 1.0 and 1.1 of Struts. Could someone please explain ? Your help is appreciated Regards, -satish
The main difference between 1.0 and 1.1 in terms of validation is the addition of the Validator framework to 1.1. In 1.0, validation was really only included via the ActionForm's validate() method. Additional validation would have to take place with manual calls in the Actions, or other back-end business classes. In 1.1, with the Validator framework included in the package. It essentially uses a combination of configuration xml files (validation-rules.xml and validation.xml) to perform validation across common attributes and data types. Attempting to explain all of the Validator framework would be next to impossible in this context, but check out O'Reilly's Programming Jakarta Struts as a reference.