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ä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.

http://old.nabble.com/file/p30770590/wicket-umlauts-1.0-SNAPSHOT.war
wicket-umlauts-1.0-SNAPSHOT.war 

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
-- 
View this message in context: 
http://old.nabble.com/ServletWebRequest.getServletPath%28%29-returns-strange-values-on-uris-with-german-umlauts-tp30770590p30770590.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to