wood burning stoves 2.0
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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: http://aspose.com/file-tools
subject: Struts validation with minlength
It's not a secret anymore!