This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
since you're a newbie, i hope you are going with a later struts version, that is 1.2+ . with 1.2.x your can use the validwhen rule. simply test for *this* > 0 (see the struts user guide on validation for this). you can use also 'range' validation, but i believe you need to specify the max with this rule.
-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>