A few dozen, yes. :)
Look at the java.text.NumberFormat class.
Larry
[EMAIL PROTECTED] 02/12/04 10:18 AM
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.
So you would suggest formating the number after it is copied into my
form bean? It is a string at this point.
Nathan Maves
Sun Microsystems
On Feb 12, 2004, at 10:28 AM, Larry Meadors wrote:
A few dozen, yes. :)
Look at the java.text.NumberFormat class.
Larry
[EMAIL PROTECTED] 02/12/04
So you would suggest formating the number after it is copied into my
form bean? It is a string at this point.
Anything that's collected from the page has to be a string. If you're goihng
to display a number, not collect it, I'd leave it in numeric format in the
bean and use a JSTL tag to
3 matches
Mail list logo