aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "confusion in valiadtion.xml" Watch "confusion in valiadtion.xml" New topic
Author

confusion in valiadtion.xml

yogi maheshnath
Ranch Hand

Joined: Jan 07, 2008
Posts: 30
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


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

Joined: Feb 19, 2008
Posts: 2902
    
    1

Its not this,

$(var:minlength)



Use this :

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


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: confusion in valiadtion.xml