This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Struts and the fly likes future date validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "future date validation" Watch "future date validation" New topic

future date validation

sandeep chalishazarwala

Joined: Dec 28, 2008
Posts: 25
Hello Everybody,
I want to do validation for future date using validate method in struts 1.2 with validator form.(not with validation.xml)
Please guide me with proper answer

Thanking You
Arun R. S. Chandran
Ranch Hand

Joined: Oct 08, 2008
Posts: 81

Hi Sandeep,

You can try with JavaScript. I'm not sure struts is providing other techniques for the same.

Thanks and Regards ,
David Newton

Joined: Sep 29, 2008
Posts: 12617

Could you be more specific?

Are you asking how to determine if a date lies in the future? Or are you asking how to use the Struts 1 validation framework?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: future date validation
It's not a secret anymore!