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

Struts2 date validation

Patrick Kok
Ranch Hand

Joined: Nov 12, 2009
Posts: 42
How can I format the Date format from client input field?
I would like to validate the date range using validation xml ,
and I wanna isolate the risk of using default xwork java.util.Date which Date.SHORT is used.

How can I customize my own date format for date validation?

I agree. Here's the link:
subject: Struts2 date validation
It's not a secret anymore!