The following is the example for mask validator in struts 1 <field property="phoneNumber" depends="required,mask"> <msg name="mask" key="userForm.phoneNumber.mask" /> <arg key="userForm.phoneNumber"/> <var> <var-name>mask</var-name> <var-value>^[0-9]*$</var-value> </var> </field>
Is there any equivalent validator in struts 2.3 where i can use regular expressions? On Tue, Mar 19, 2013 at 2:07 AM, Lukasz Lenart <[email protected]>wrote: > 2013/3/18 Muralidhar Yaragalla <[email protected]>: > > hi I have been searching on net for mask validator examples but could not > > found any for 2.3. > > Mask validator? What you mean by that? > > > Regards > -- > Ćukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Thanks And Regards, *Muralidhar Yaragalla. *

