Actually you create two action mappings in your struts-config.xml One with
validate="true" and one with validate="false".  Both pointing to the same Action
sub-class

-kevin

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 01, 2002 9:31 AM
> To: [EMAIL PROTECTED]
> Subject: Validator and loading a form the first time
>
>
>
> Hi All,
>
> I have several forms that I are getting checked by Validator before the
> user fills out the form.  This is because I used to load the forms by
> calling the action servlet and seeing that it is a first load, skipping
> validation and forwarding the form back...  Kind of a self check...
>
> With struts validator what is the best policy?  I was thinking a
> seperate action that forwards to the same place with validate off...  So
> I have two actions, but no more code...
>
> Is this best?
>
> Thanks!
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>




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

Reply via email to