File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts Validation - DatePattern MM/dd/yy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Validation - DatePattern MM/dd/yy" Watch "Struts Validation - DatePattern MM/dd/yy" New topic

Struts Validation - DatePattern MM/dd/yy

Helen Shen

Joined: Sep 20, 2006
Posts: 5
Does anyone have a problem using DatePattern MM/dd/yy to do the client-side validation in Struts 1.3? I cannot pass the validation in javascript if the DatePattern uses the two-digit year. But other patterns with 4-digit year are fine.

Any idea?

Thanks in advance.
I agree. Here's the link:
subject: Struts Validation - DatePattern MM/dd/yy
It's not a secret anymore!