| Author |
Quick parameter value question
|
James Hodgkiss
Ranch Hand
Joined: Jan 22, 2004
Posts: 401
|
|
I have a web form that sends a price String (e.g., "�2.99") to a servlet. Using request.getParameter() at the servlet gives it as "%A32.99". What's the normal way to convert that back to the original "�2.99"? Cheers, James
|
 |
arulk pillai
Author
Ranch Hand
Joined: May 31, 2007
Posts: 3188
|
|
|
Why not just pass the value as 2.99 and let internationalization take care of the currency.
|
Java Interview Questions and Answers Blog | Amazon.com profile | Java Interview Books
|
 |
Andrew Monkhouse
author and jackaroo
Marshal Commander
Joined: Mar 28, 2003
Posts: 10816
|
|
James, Please check your private messages for an important administrative matter. Thanks, Andrew
|
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
|
 |
 |
|
|
subject: Quick parameter value question
|
|
|