Commons Validator is awesome.
Yesterday I used commons validator. Its awesome. It was too easy to validate the fields using validator. I remembered my good old days. When I used to write long javascripts to validate fields for different rules. But with validator its just a job of few minutes. I felt like I’m having a magic wand. I just used it like a magician and all validations were in place.
Here are some links:
Using Jakarta Commons
by Vikram Goyal
on Onjava.com
—————————————
Part 1 – http://tinyurl.com/6chlu
Part 2 – http://tinyurl.com/587h7
Part 3 – http://tinyurl.com/69sv2
Note: This article discusses most of the commons with demo source code. For validator Look on Part 3, Page 4
Here’s another one (a tutorial)
http://tinyurl.com/4mu5p
hope this helps ..
– Mayuresh
Pune Java User Group (PJUG)
[email protected]
did you use javascript functionality of commons validator? If so, was it within Struts frame work? If not, can you please explain how you accomplished it?