This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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

Win a copy of REST with Spring (video course) this week in the Spring 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
jQuery in Action, 3rd edition