File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: future date validation