Tuesday, February 17, 2004 02:05 AM
Yes I had that problem once. I was using the Struts Validation engine as well. One solution is to create a new validator that takes a date format as a parameter. You can do that by creating the function, adding the definition to the validator-rules.xml file and use it in your validation.xml file with the parameter for the date format you are trying to check.
Hope that helps,