Hi,
if a property in a Struts Form is declared as an Integer, and the user
types, for example " 5" (i.e. mistypes a space before or after the
number), my bean is just setting the property as 0 (it fails to parse, I
guess). How can I simply trim the input before it goes to the Form Bean?
Thanks,
Zorzella
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: How to trim() before Integer-cast field fails? Luiz-Otavio Zorzella
- Re: How to trim() before Integer-cast field fail... Jagdish Arora
- Re: How to trim() before Integer-cast field ... Luiz-Otavio Zorzella
- Re: How to trim() before Integer-cast field fail... Craig R. McClanahan