473,624 Members | 2,539 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem in displaying the currency 'Euro' on the jsp

13 New Member
Hi All,
i am facing a very typical problem ..where i need to display the currency Euro symbol onto the jsp page.
i could have done it using the java.util.Curre ncy class but i cannot set the locale..b'coz it has to be an locale independent application, to i store the symbol itself in the db of all the currency avaliable...& need to show the one selected onto the jsp...

i tried setting the "UTF8" encodings at the jsp & the jvm level too..but all in vain...
plz help...

Thanks in advance.
Jan 29 '08 #1
2 3982
r035198x
13,262 MVP
Hi All,
i am facing a very typical problem ..where i need to display the currency Euro symbol onto the jsp page.
i could have done it using the java.util.Curre ncy class but i cannot set the locale..b'coz it has to be an locale independent application, to i store the symbol itself in the db of all the currency avaliable...& need to show the one selected onto the jsp...

i tried setting the "UTF8" encodings at the jsp & the jvm level too..but all in vain...
plz help...

Thanks in advance.
Post the code you used to store and retrieve the symbol.
Do you really have to store the symbol in the database?
Jan 29 '08 #2
BigDaddyLH
1,216 Recognized Expert Top Contributor
Break the problem down.
  1. Forget JSP and Java entirely. Using you favorite DB tool, can you insert and select a string that contains €? Then your DB encoding is sufficient.
  2. Still forget JSP. Write a small Java testing that inserts and selects and can you insert and select a string that contains €? Then your Java code is sufficient.
  3. Now forget the back end. Can you write a small JSP that displays a string containing €, forwarded from a servlet, using whatever framework you're building your web app with?
  4. Finally, put it all together.
  5. Do you get the idea? Baby steps. Always baby steps.
Jan 29 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
2952
by: Philip D Heady | last post by:
Anyone know where i can find all world currencies (USD,etc) and do an import into mySQL? Just need a comma delimited list if possible. Example: USD, United States Dollar etc, etc
2
4429
by: techy techno | last post by:
hii Experts..!! I need someone to tell me where I can get a Currency Converter like http://cconv.textor.com please can someone tell me where I can get it I need it for free + I dont need any link of the co. the code for this is here but when I change it it just says unauthorize
0
1309
by: ashish | last post by:
hi All, Iam having a webapplication which when run under French culture info displays value of euro currency in this format 0.00 E, (E being the euro symbol, dont know how to type it here ) the issue is that currency in euro is displayed as E 0.00 instead of 0.00 E, Iam using following code ..
5
7049
by: SalamElias | last post by:
I followed instructions in MSDN help articles and wrotethe folowing code in order to display numeric numbers with Euro symbol as follows : ---------------------------- Dim OutString As = "" Dim frCulture As New CultureInfo("fr-FR", False) Thread.CurrentThread.CurrentCulture = frCulture Dim myCurrency As New (123456) myCurrency.ToString("C", LocalFormat) OutString = "Euro : " + myCurrency.ToString("C", NumberFormatInfo.CurrentInfo)
7
3310
by: kingski | last post by:
Any idea about this ? http://www.developerfusion.co.uk/forums/thread/114379/#114379 "Can any one help me as i am building a shopping cart and it supports multiple currencies but while sending confirmation mail o customer it does not show euro sign before amount he paid but it is showing a queston mark over there. It is working fine with Dollar sign and Pound Sign but this Euro is creating problem. " thanks.
7
4060
by: meenasamy | last post by:
Hi all, i need to create a function that takes three parameters( Original currency, needed currency, amount) i need to convert from the original currency to the needed currency the amount and return the new amount in the needed currency, I need this function to work real time (obtaining real time currency exchange rates), any ideas???
1
1207
by: Bruno Alexandre | last post by:
Hi guys, I'm using globalization to perform a Change Currency from our Shopping Cart for Danish Kroner I use "DA" for Euro I'm using "PT-PT" (as a option, cause Euro is used in a lot of European countries) but when I choose this in the dropdown list I get
3
7317
by: Eric | last post by:
I know this is a property of the RegionInfo class. I figure somewhere in the framework is the actual enumeration, which I would like to use. I want to use it to support a Money class I need, along the lines of Fowler, which would have an attribute of Currency. Any help much appreciated.
38
5057
by: ted | last post by:
I have an old link that was widely distributed. I would now like to put a link on that old page that will go to a new page without displaying anything.
0
8246
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8179
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8631
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8490
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7174
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6112
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5570
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.