aspose file tools*
The moose likes Struts and the fly likes masking validation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "masking validation problem " Watch "masking validation problem " New topic
Author

masking validation problem

ramandeep singh
Greenhorn

Joined: Jan 16, 2007
Posts: 13
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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: masking validation problem