This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
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?