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>
subject: need a validator to check the number is positive