tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asbachb <>
Subject ServletWebRequest.getServletPath() returns strange values on uris with german umlauts
Date Thu, 27 Jan 2011 00:15:24 GMT


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älue-xxx" but I
would expect "/page/param/välue-xxx".

Like mentioned in the CharacterEncoding FAQs I already setup URIEncoding and
useBodyEncodingForURI attribute in my server.xml configuration.

Feel free to have a look at my sample application attached.

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,
View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message