struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mead Lai <>
Subject Re: struts2.1 validation problem! with "fileUploadStack"
Date Fri, 19 Nov 2010 03:19:43 GMT
Thank you, Dave.
Your explain is helpful for me to understand it.

I want to validate the birthday in struts2 validation.xml,
The range of date is between 1900-01-01 and current Date.
How to get current date time in the struts2 validation.xml,?

<field name="birth">
<field-validator type="date">
<param name="min">1900-01-01</param>
<param name="max">${current Date}</param>
<message>your birthday  shall be ${min}---${max}</message>


On Thu, Nov 18, 2010 at 8:04 PM, Dave Newton <> wrote:

> Dave

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message