This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

confusion in valiadtion.xml

 
yogi maheshnath
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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
 
Sagar Rohankar
Ranch Hand
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its not this,

$(var:minlength)



Use this :

${var:minlength} {curly brackets ..}
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic