File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Param encoding from request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Param encoding from request" Watch "Param encoding from request" New topic

Param encoding from request

Adrien Ruffie
Ranch Hand

Joined: Jan 14, 2009
Posts: 92
Hello all I have a problem with Linux/windows encoding.

I recover a String value from request which is a product price (in my application)
But when I receive the price from Linux, It's work correctly with following code:

I correctly get "2 400" but when I try with windows I get for exemple following value "2 400"
I found a old code which do:

But with this previous encoding it's doesn't correctly format my float "2 400" with linux ...

any one have an idea what I can use in order to work with twice system ? I cannot modify JSP, or request encoding

great thank and best regarde

I agree. Here's the link:
subject: Param encoding from request