Sorry if you get this twice.

Did you try DatePatternStrict?

Erik



-----Original Message-----
From: Riyaz Mansoor <[EMAIL PROTECTED]>
Sent: Jun 6, 2005 4:49 PM
To: Struts Users Mailing List <user@struts.apache.org>
Subject: date validation


i've got a date validation set up with datePattern "yyyy-MM-dd", ie 
standard JDBC SQL format.

but date validation seems to pass values of type "1980" (without month 
or day) and subsequently i get a SQL DATE conversion error.

is this expected behavior for date validation? is there a way to enforce 
that year-month-day be enforced?

riyaz


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to