Hi Dear there is no need to use validator framwork for ActionErrors. Strusts .jar is sufficient. just use validate() in Action Form which returns ActionErrors and use .properties file for mapping corresponding Errors.
If U satisfied my Answer or U got another problem. Plz mail me......... bye Dharmendra Singh On 2/20/06, vasumathi <[EMAIL PROTECTED]> wrote: > > > u can use like this in validation.xml file in WEB-INF folder. > <form name="loginForm"> > <field property="userName" > depends="required,minlength,maxlength,mask"> > <arg0 key="login.enter.user"/> > <var> > <var-name>minlength</var-name> > <var-value>5</var-value> > </var> > <var> > <var-name>maxlength</var-name> > <var-value>12</var-value> > </var> > <var> > <var-name>mask</var-name> > <var-value>^[0-9_a-zA-Z]*$</var-value> > </var> > </field> > <field property="userPassword" depends="required"> > <arg0 key="login.enter.password"/> > </field> > </form> > no need to use validate method in ActionForm. > i think u know the use of validator-rules.xml in WEB-INF folder. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >