How to Create your custom validator?
suppose that we want to create custome validator that applies some Arithmatic Operation on two fields.
1. Create the ComparisonValidator.2- Create the ComparisonValidatorTag. 3- Create the Validator.tld 4- Register the validator in the faces-config.xml 5- Now in the jsp page you can use it as following:
1. Create the ComparisonValidator.
* @author aabdelaziz