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 confusion in valiadtion.xml 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 "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: 2904

Its not this,


Use this :

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

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
I agree. Here's the link:
subject: confusion in valiadtion.xml
It's not a secret anymore!