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 Storm Applied this week in the Other Open Source APIs 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]
I agree. Here's the link:
subject: confusion in valiadtion.xml