File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes confusion in valiadtion.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "confusion in valiadtion.xml" Watch "confusion in valiadtion.xml" New topic

confusion in valiadtion.xml

yogi maheshnath
Ranch Hand

Joined: Jan 07, 2008
Posts: 30
I am using struts 1.1 with Tomcat 5.x.

Whenever i run this,it shows:User Name can not be less than $(var:minlength) characters.

why its not giving output like that User Name can not be less than 5
characters,as i have specified minlength variable value to be 5.Please Explain

Thanks&Regards<br />Yogi MaheshNath
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902

Its not this,


Use this :

${var:minlength} {curly brackets ..}

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
jQuery in Action, 2nd edition
subject: confusion in valiadtion.xml
Similar Threads
Struts Validator Framework error
Struts: DynaValidatorForm not working
Validation framework is not working
why does my application not perform server side validations?
Form is not being validated