use Firefox 1.5 that has NO LOCALE(all of locales deleted) this formatting code does not work. <fmt:formatNumber value="12345.67" type="currency" groupingUsed="false" maxIntegerDigits="4" maxFractionDigits="0" /> should correctly result is 12345 but, case of NO LOCALE result is 12345.67 maxFractionDigits attribute is ignored. if NO LOCALE(mabye locale is null), work as en(English) locale. and, when Firefox has some locales, worked correctly. thank you.
The spec says the following: If this action fails to determine a formatting locale, it uses Number.toString() as the output format. This explains why all formatting attributes are ignored.
An RFE has been files with the JSTL spec. See: https://jstl-spec-public.dev.java.net/issues/show_bug.cgi?id=23