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 <[EMAIL PROTECTED]> 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 >