-
Sep 1st, 2008, 04:35 PM
#1
How to compare dates using Spring Module Validator validaton.xml
Hey,
I have two dates in a bean object. One is a from date and other is a to date. I would like to do the following validations on the dates:
1. To date is after from Date
2. Difference between from and to date should not be more then 1 year.
Is there a way to do it in validation.xml?
Thanks asajnani
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules