struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "j alex" <strutstwou...@gmail.com>
Subject Re: Specify a name for a validate function
Date Mon, 27 Aug 2007 21:16:11 GMT
Struts 1 ; if validate=true, it looks for a method called validate() in
ActionForm (ie value_add_form) , Action ( ie MyAction) or if you've
configured validation xml, validations are run using that

On 8/27/07, Anna Simbirtsev <asimbirtsev@gmail.com> wrote:
>
> Hello
>
>     <action    path="/value_add"
>                type="com.struts.action.MyAction"
>                name="value_add_form"
>                scope="request"
>                validate="true">
>   </action>
>
> Does it call the validate function in the form class?
> Can I specify the name of validate the function to call?
>
> Thank you
>

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