A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to check 2 fields are equal or not
Joined: Aug 30, 2005
Sep 08, 2005 23:19:00
How to check two fields are equal or not using
validator frameworks ?
Joined: Apr 14, 2005
Sep 09, 2005 09:43:00
you'll need to write your own extension to the framework. it's not difficult if you are already using the validation framework. it will help you understand even more how the whole process works.
the struts user guide (on apache.org, look at the validator section) has the exact example for you to use (validateIdentical).
[ September 09, 2005: Message edited by: alan do ]
-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
It is sorta covered in the
JavaRanch Style Guide
subject: How to check 2 fields are equal or not
comparison of dates
List's contains(Object o) method doesn't work for object version.
secondary sort using Comparator
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014