currency « JSTL « JSP-Servlet Q&A





1. JSTL fmt currency - Only displaying the currency symbol    coderanch.com

That would be a bit of a misuse of the JSTL tag. The currency symbol is available from the class java.util.Currency. You should obtain it from there. If you have an instance of the Currency object already, you can just use ${currency.symbol} If you need to obtain an instance of the currency first, use the Currency.getInstance(currencyCode) method. This is not directly ...