tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Default character encoding for ServletRequest
Date Thu, 01 Oct 2009 11:13:21 GMT
On 01/10/2009 10:44, Halm Reusser wrote:
> Hi,
>
> Calling <%= request.getCharacterEncoding() %> in a jsp deployed in a
> Tomcat 6.0.20 container returns null.
>
> Is there any possibility to force a default CharacterEncoding for such
> requests?

How about?

  request.setCharacterEncoding("ENCODING");

Bearing in mind that you're not really changing what the client 
requests, or might expect you to be setting...

p


> Thanks in advance!
>
> Regards,
>


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


Mime
View raw message