Re: POST request encoding - Tomcat/JVM configuration?

2009-10-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan, On 10/24/2009 5:58 AM, Pfeifer Jan wrote: String decoded = new String(param.getBytes(iso-8859-1),UTF-8); (I'm all out of breath from replacing those quot; escapes with symbols... I need to get more exercise). The above line of code is only

Re: POST request encoding - Tomcat/JVM configuration?

2009-10-24 Thread Pfeifer Jan
I apologize for my last post, I accidentaly doublecoded it. Original post: quot;That JSP should work on any clean Tomcat installation. quot;It doesn't workquot; isn't very informative. We need details.quot; There realy is not much more to say. quot;it worked, now it does notquot;. I also use

Re: POST request encoding - Tomcat/JVM configuration?

2009-10-24 Thread André Warnier
Pfeifer Jan wrote: ... I know about URIEncoding in server.xml and about using Encoding filter,but we use this for decoding GET request for historical reasons. Or is there more quot;correctquot; way to decode String? Jan, this whole area of the character set in which HTTP requests come into a

Re: POST request encoding - Tomcat/JVM configuration?

2009-10-23 Thread Pfeifer Jan
Thank you for reply. I've checked that link several times already. I have not problem with code itself. It works. Resp. it works everywhere except my computer now. I am looking for a reason why after almost a year it stopped work properly. Which configuration file I missed. I have tested

Re: POST request encoding - Tomcat/JVM configuration?

2009-10-23 Thread Mark Thomas
Pfeifer Jan wrote: Thank you for reply. I've checked that link several times already. I have not problem with code itself. It works. I disagree. I can see a whole bunch of things wrong with that code. Does the sample JSP in the FAQ work? If not, you have some system config issues to

Re: Re: POST request encoding - Tomcat/JVM configuration?

2009-10-23 Thread Pfeifer Jan
quot;That JSP should work on any clean Tomcat installation. quot;It doesn't workquot; isn't very informative. We need details.quot; There realy is not much more to say. quot;it worked, now it does notquot;. I also use myeclipse IDE. I disabled it,reinstalled tomcat, tried it and quot;it does

Re: POST request encoding - Tomcat/JVM configuration?

2009-10-23 Thread André Warnier
Pfeifer Jan wrote: quot;That JSP should work on any clean Tomcat installation. quot;It doesn't workquot; isn't very informative. We need details.quot; There realy is not much more to say. quot;it worked, now it does notquot;. I also use myeclipse IDE. I disabled it,reinstalled tomcat, tried it

Re: POST request encoding - Tomcat/JVM configuration?

2009-10-23 Thread Pid
On 23/10/2009 15:21, André Warnier wrote: Pfeifer Jan wrote: quot;That JSP should work on any clean Tomcat installation. quot;It doesn't workquot; isn't very informative. We need details.quot; There realy is not much more to say. quot;it worked, now it does notquot;. I also use myeclipse IDE. I

Re: POST request encoding - Tomcat/JVM configuration?

2009-10-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/23/2009 10:21 AM, André Warnier wrote: Pfeifer Jan wrote: I don't know if this affects only my mail reader, but your messages to the list, for me, are almost impossible to read because of the apparent profusion of html escapes in

Re: POST request encoding - Tomcat/JVM configuration?

2009-10-22 Thread Mark Thomas
Pfeifer Jan wrote: Hi, I am running webapp for some time with no problems. After some quot;changequot; that I am not able to identify my POST (GET works fine) requests are messed up. Just on my local server. http://wiki.apache.org/tomcat/FAQ/CharacterEncoding Mark Some facts: Tomcat