Solved

display currency symbol along with the number in JSP

Posted on 2006-06-22
3
1,198 Views
Last Modified: 2012-06-27
Hello,

I want to display currency symbol along with the number in JSP. I tried the following two tags, but the currency symbol ( USD) is not displayed.

<td> <fmt:formatNumber value="${row.col1}" type="currency" pattern="###,###"/></td>

<td> <fmt:formatNumber value="${row.col1}" type="currency" pattern="###,###0"/></td>

Can you please help
0
Comment
Question by:MFCAnswer
3 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 50 total points
ID: 16960217
what is displayed...

It should add the currency symbol depending on the locale of your server...

Tim
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
getting Http 404 error in jsp forms 8 81
servlet init param and contect param 3 67
Use tracing facilities in your browser steps 2 122
iterator/ListIterator approach 17 39
Some of the SEO trends we might expect in 2017.
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question