Struts Validator Framework
- provides the functionality to validate the form data
- can validate data on the users browser as well as on the server side.
- Client side : emits the javascript and it can be used to validate the form data on browser.
- Server side : subclass your Form bean with DynaValidatorForm class.
- comes integrated with Struts Framework ; No extra settings required.
Details of XML files used in Validator Framework
- validator-rules.xml
- defines the standard validation routines, which are reusable
- used in validation.xml to define the form specific validations
- validator.xml
- defines the validations applied to a form bean
No comments:
Post a Comment
Note: only a member of this blog may post a comment.