Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 90563 invoked from network); 27 Jan 2011 00:15:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jan 2011 00:15:56 -0000 Received: (qmail 60461 invoked by uid 500); 27 Jan 2011 00:15:52 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 60317 invoked by uid 500); 27 Jan 2011 00:15:52 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 60307 invoked by uid 99); 27 Jan 2011 00:15:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 00:15:51 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 00:15:45 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PiFWG-0001oO-6u for users@tomcat.apache.org; Wed, 26 Jan 2011 16:15:24 -0800 Message-ID: <30770590.post@talk.nabble.com> Date: Wed, 26 Jan 2011 16:15:24 -0800 (PST) From: asbachb To: users@tomcat.apache.org Subject: ServletWebRequest.getServletPath() returns strange values on uris with german umlauts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: mz8lenvp05gyb78@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hello, Environment: Tomcat 7.0.6 - Java 1.6_22 - Ubuntu 10.10 I got some problems with a wicket application which decodes parameters into path of the uri. When calling getServletPath() on that uris, containig umlauts the method will return some wrong encoded path. In my sample application the method returns "/page/param/v=C3=83=C2=A4lue-x= xx" but I would expect "/page/param/v=C3=A4lue-xxx". Like mentioned in the CharacterEncoding FAQs I already setup URIEncoding an= d useBodyEncodingForURI attribute in my server.xml configuration. Feel free to have a look at my sample application attached. http://old.nabble.com/file/p30770590/wicket-umlauts-1.0-SNAPSHOT.war wicket-umlauts-1.0-SNAPSHOT.war=20 I tested the same Application also in the bundled netbeans version 6.0.29 and latest GlassFish version which worked without problems. Any ideas how to solve that issue? Kind Regards, Benjamin --=20 View this message in context: http://old.nabble.com/ServletWebRequest.getSe= rvletPath%28%29-returns-strange-values-on-uris-with-german-umlauts-tp307705= 90p30770590.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org