This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes How to check 2 fields are equal or not Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to check 2 fields are equal or not " Watch "How to check 2 fields are equal or not " New topic
Author

How to check 2 fields are equal or not

Davi Kurian
Greenhorn

Joined: Aug 30, 2005
Posts: 2
How to check two fields are equal or not using Struts validator frameworks ?
alan do
Ranch Hand

Joined: Apr 14, 2005
Posts: 354
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
 
Similar Threads
secondary sort using Comparator
Student schedule
comparison of dates
List's contains(Object o) method doesn't work for object version.
method equals