wood burning stoves 2.0*
The moose likes Struts and the fly likes validation date Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "validation date" Watch "validation date" New topic
Author

validation date

Maria Luisa Della Vedova
Greenhorn

Joined: Dec 28, 2004
Posts: 2
Hello,
I would like to know if is it possibile to validate with validation.xml a date against several
Pattern.
My users want to be able to insert a date in a different ways
Ex. 21/05/2007 or 21-05-2007

I tried to combine the validator date (datePattern) with the validator
mask but I dind�t succed.
Any suggestions?

thanks in advance for your time.
 
 
subject: validation date
 
Similar Threads
How to get the Dates in-between two Dates
CommunicationException in war file deployment
SCDJWS Beta EXTENDED!!!!
How to generate a random hour?
mldv