Solved

display currency symbol along with the number in JSP

Posted on 2006-06-22
3
1,193 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
trouble with PDF encryption using itext-1.3.1 17 84
servlet concurrency 13 101
Suggestion on WebSite Template Sites 6 101
ejb on wildfly 5 20
For months I had no idea how to 'discover' the IP address of the other end of a link (without asking someone who knows), and it drove me batty. Think about it. You can't use Cisco Discovery Protocol (CDP) because it's not implemented on the ASAs.…
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 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