This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2 Problem in validation

 
Rajive Jha
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a date fields in jsp splitted into 3 text boxes , each text box corresponds to DD , MM & YYYY respectively.
So i have defined 3 Integer fields in my action to get those values.
Now I have to merge the three fields and for a date object to persist in Database.

Where i am stuck is how to validate in XML, so that i can validate against a date object and not three integer fields.
Also how to do validation like date should not be greater than current date .

Help is appreciated.

Thanks
Rajiv
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic