This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "future date validation" Watch "future date validation" New topic
Author

future date validation

sandeep chalishazarwala
Greenhorn

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
Sandeep
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 ,
Arun
David Newton
Author
Rancher

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?
 
Consider Paul's rocket mass heater.
 
subject: future date validation
 
Similar Threads
Validation for Future date
Clear validation message dynamically for the Datepicker
Client side validation using common validators
Version 5 of the SCWCD
Very Urgent : Fututre Date validation using struts validation