On Fri, 10 Jun 2011 04:31:00 -0300, Pups <vasy...@devcom.com> wrote:
Hello.
I use this encoding
Hi!
String encodedUrl = getRequestedUrl();
encodedUrl = java.net.URLEncoder.encode(encodedUrl,
requestGlobals.getHTTPServletRequest().getCharacterEncoding());
return encodedUrl;
You can @Inject HttpServletRequest directly. No need to use RequestGlobals
for that.
As I see in debug it is "UTF-8".
You shouldn't use the request encoding, as it can vary between browsers,
so I'd use UTF-8 explicitly.
Connection:close
Content-Length:0
Date:Thu, 09 Jun 2011 17:49:15 GMT
Server:Apache-Coyote/1.1
Have you tried this without using Apache in the front of Tomcat/Jetty?
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org