File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 agree. Here's the link:
subject: future date validation
It's not a secret anymore!