struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Iris <>
Subject Re: Struts Validator
Date Tue, 17 Dec 2002 09:41:54 GMT
Suresh Addagalla wrote:

>I'm new to Struts and am trying to get a hang of Struts Validator
>I defined the validator-rules.xml,,
>validator.xml. To be able to do server-side validations, is it still
>required to have the ActionForm class? If yes, do we need to override
>the validate() or what exactly is needed?
Yes you need an ActionForm to describe your form (get and set).
But you must no override the validate().
And to use the validator, your ActionForm must extends ValidatorForm.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message