Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Nov 2007 05:11:56 -0700
From:      Ben Upsavs <ben@idataconnect.com>
To:        freebsd-java@FreeBSD.org
Subject:   JDK6 bug
Message-ID:  <F9B06B1C-0380-4B3E-939C-144A21843DC4@idataconnect.com>

next in thread | raw e-mail | index | archive | help
I just tried JDK6 patchlevel 2 and the showstopper for me was that if  
I have a web page using JSTL and I add a tag such as this:  
<fmt:formatNumber value="${someNumber}" type="currency" /> the number  
will not be formatted as currency. Even if I specify <fmt:setLocale  
value="en-US" /> above the formatNumber tag, the results are no  
different.

I always see a result of the value I am trying to format, with one  
decimal place, and no currency symbol. e.g. 123 becomes 123.0 instead  
of $123.00



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F9B06B1C-0380-4B3E-939C-144A21843DC4>