File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "masking validation problem " Watch "masking validation problem " New topic

masking validation problem

ramandeep singh

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"
<arg0 key=""/>

< var-value>^[a-zA-Z0-9@.#$%\\&*!]*$</var-value>
I agree. Here's the link:
subject: masking validation problem