You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nathan Maves <Na...@Sun.COM> on 2004/02/12 18:18:31 UTC
Double formating in html:text boxes
In my business logic I return a java.util.List to my action. In this
action I run through the list and use the BeanUtils.copyProperties() to
convert the List elements into formbeans. The problem is that in the
business object the property "actual" is a Double and in the formBean
it is a string. This leads me to have text fields with 1.4779002E7 as
the value. I there any way to get around this?
Nathan Maves
Sun Microsystems