Hi, I am amazed to find out that the built-in validator rules for "integer" doesn't catch a value of all spaces. I had this validations.xml where I put in depends="integer" and it gave the expected error messages for all erroneous inputs containing alphabets, *, & etc.. it even caught " 6"... but it doesn't seem to validate the field when i space it out.. Is this the way struts validations are supposed to behave...? Any ideas?
It means our mission is in jeapordy! Quick, read this tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop