This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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>
 
Have you checked out Aspose?
 
subject: masking validation problem
 
It's not a secret anymore!