I want to validate that two fields on a page match (e.g. are the same exact email address). I don't have access to bean validation/validation groups. How should I go about validating that both addresses match?
Current thought is to put a validator on the second field and have it check that it matches the submitted value of the first. Is this the best way or is there a way to do this via configuration or some other means?