I guess if one really, really wanted to, one could perform the validation in
java using something along the lines of the SimpleDateFormat class. Though I
do see the advantage of letting the validator handle the chore for you.

Andreas

-----Ursprüngliche Nachricht-----
Von: Anderson, James H [IT] [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 15. März 2004 22:26
An: Struts Users Mailing List
Betreff: RE: server side date validation




    <formset>
      <form name="ActivityViewForm">
        <field
           property="starting"
           depends="date">
          <arg0 key="ActivityViewForm.starting.displayname"/>
          <var>
            <var-name>datePatternStrict</var-name>
            <var-value>MM/dd/yyyy</var-value>
          </var>
        </field>
     ...
     </form>
   </formset>

-----Original Message-----
From: Jignesh Patel [mailto:[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 2:04 PM
To: Struts Users Mailing List
Subject: server side date validation


Can anybody give me example code to validate date towards server side?


-Jignesh

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to