• 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: 2907
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