This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Struts and the fly likes Specify Error Message Generated By Automatic Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Specify Error Message Generated By Automatic Validation" Watch "Specify Error Message Generated By Automatic Validation" New topic
Author

Specify Error Message Generated By Automatic Validation

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I am trying to put entries to the MessageResource.properties file for the error messages generated by the automatic validation. I could find examples for email and date:
errors.email={0} is an invalid e-mail address.
errors.date={0} is not a date.
Nonetheless, I used "mask" to provide a number of validation rules. How do I specify those error messages? (I used mask several times.)
[ July 03, 2003: Message edited by: JiaPei Jen ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Specify Error Message Generated By Automatic Validation
 
It's not a secret anymore!