i am trying to use regular expression in
struts validation.xml but
i am not able to use "&" even after changing it to \&
<field property="publication" depends="mask" >
<msg name="mask"
key="errors.invalidcontent"/>
<arg0 key="resume.email"/>
<var>
<var-name>mask</var-name>
< var-value>^[a-zA-Z0-9@.#$%\\&*!]*$</var-value>
</var>
</field>