Thursday, April 22, 2004 10:56 AM
I have a scenario where in i have to validate the form field for the date depending on the locale(US,FR,CA) etc. Whenever the user login to application, we will know his locale and we need to show the date format and then validate the date format for that locale. Is there any easy way of doing this in struts/java. Currently, the validation.xml field property can have only one mask associated with the field..but we need to change the mask depending on the locale.
Please use html tags to format code blocks.