but my problem is only for validwhen, other validation instructionswork right, and I had set validate="true" in strutsconfig file,before.I myself think maybe somthing in commons-validator.jar is wrong orsomething like this.