This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts validation with minlength Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts validation with minlength" Watch "Struts validation with minlength" New topic

Struts validation with minlength

Rabee' Nawash

Joined: Feb 27, 2005
Posts: 14
Dear All,

I'm facing a struts validation problem with minlength, the validation alert message will be like this

customer name cann't be less than null characters, I check everything in the validation.xml everything are defined correctly

<field property="beneficiary.account.number" depends="required,maxlength, minlength, integer">
<arg0 key="label.transfers.BeneficiaryAccountNumber" />
<arg1 key="${var:maxlength}" name="maxlength" resource="false" />
<arg2 key="${var:minlength}" name="minlength" resource="false" />

Best Regards,<br />Rabee' Nawash
I agree. Here's the link:
subject: Struts validation with minlength
It's not a secret anymore!