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 date validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "date validation" Watch "date validation" New topic
Author

date validation

Venkata Aditya
Greenhorn

Joined: Sep 20, 2007
Posts: 2
Hi i have a problem with validating date. I am using struts validation framework for validating date. I have taken input type textbox and in form i am using string. and validating date. But when i give yyyy year as 2s07
the date will not give me any errors but when i insert s007 it validates and gives me error. Is there any way to validate the year using validtion.
i tried using simple date format and other date parsers.
 
wood burning stoves
 
subject: date validation
 
Similar Threads
Need help for Check Box Validation in struts1.2 without using javascript
How to know the type of request coming from the form
date validation
Session validation code
Very Urgent : Fututre Date validation using struts validation