Solved

display currency symbol along with the number in JSP

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
loop through list of objects 14 186
attribute vs parameter and setter vs add method 17 83
some methods private some are not 8 196
JSONSerializer.toJSON in JSP generating error 8 63
Scenario: Your operations manager has discovered an anomaly in your security system. The business will start to suffer within 15 minutes if it is a major IT incident. What should she do? We have 6 recommendations for managing major incidents (https:…
Note: This is the second blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   Every month t…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…
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 …

932 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now