Hi, I am new to this mailing list and am facing a problem using the "minlength" field validation provided by the Struts Validation Framework. Struts version - 1.2.4 Application Server - Apache Tomcat (5.5)
I have configured the following in my validation.xml file - <field property="password" depends="required,minlength"> <arg position="0" key="LoginForm.password"/> <arg position="1" name="minlength" key="${var.minlength}" resource="false"/> <var> <var-name>minlength</var-name> <var-value>6</var-value> </var> </field> However, the value of the minlength variable is not being substituted in the error message and the following is displayed when the validation fails - Password can not be less than ${var.minlength} characters. I have searched through the mailing list archives but could not find a solution. Pl. advise what could go wrong. Thanks and Regards, Maithily.