Thanks Iris.
Could you recommend a good book (or online tutorial) for me to learn
Struts? I am going through a lot of material on the web, but more often
I am getting confused than learning something new.
Suresh
>-----Original Message-----
>From: Iris [mailto:iris@enix.org]
>Sent: Tuesday, December 17, 2002 3:12 PM
>To: Struts Users Mailing List
>Subject: Re: Struts Validator
>
>
>Suresh Addagalla wrote:
>
>>Hi,
>>
>>I'm new to Struts and am trying to get a hang of Struts Validator
>>framework.
>>
>>I defined the validator-rules.xml, application.properties,
>>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.
>
>Iris
>
>
>
>--
>To unsubscribe, e-mail:
><mailto:struts-user->unsubscribe@jakarta.apache.org>
>For
>additional commands,
>e-mail: <mailto:struts-user-help@jakarta.apache.org>
>
|