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]

Reply via email to