You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dan Tran <da...@hotmail.com> on 2002/10/16 21:52:28 UTC

Validation question

First I'd like if this is already answer on this list ( I did try
to search on the archive thou)

My form been has a float properties with get/set method
use float.

The user on my web page enters a invalid float value string

The question here is why my ActionForm bean does not
throw exception rather then setting the property to 0.0?

I do understand I should using String for all my form properties, but it is intrigued to understand this.

Any suggestion?