• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to check 2 fields are equal or not

 
Davi Kurian
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to check two fields are equal or not using Struts validator frameworks ?
 
alan do
Ranch Hand
Posts: 354
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic