myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: Pageencoding wrong when define error pages (Please help)
Date Wed, 19 Nov 2008 11:18:12 GMT
2008/11/19 jhomuth <johannes.homuth@sourcepark.de>:
> Hi List,
>
> I have another strange stuff for you.
> My Myfaces (V.1.1.6) application has a wrong page encoding since I defined
> error pages in the web.xml file.
> Before defining the error pages I was able to show characters like
> "ä,ö,ü,ß..." on my site. Now, since I've added
> error pages, they will be shown in this way ä -> ä and ß -> ß. It's really
> strange. Furthermore I get always such a waring.
>
> PWC4011: Unable to set request character encoding to UTF-8 from context
> /<context-path>, because request parameters have already been read, or
> ServletRequest.getReader() has already been called
>
> You might know this message, I saw many of them in a lot of forums, but now
> usefully answer yet.

when query params from the request parameter map it isn't possible to
set the encoding
afterwards. That's what the msg says. So q is now, why do you query ?
Or your error page ?

-M

>
> If I comment out the error page definitions all will work again! Do you now
> why the pageencoding is so strange and how to fix that????
>
> --
> Johannes Homuth
>
> -----------------------------------
> SOURCEPARK Gesellschaft
> für Softwareentwicklung mbH
>
> Johannes Homuth
> Helmholtzstr. 2-9 Gebäude M
> 10587 Berlin  Tel:    +49 (0)30/398 068 316
> Fax:    +49 (0)30/398 068 39
> e-mail: jhomuth@sourcepark.de
> www:    www.sourcepark.de
> -----------------------------------
> Sitz der Gesellschaft: Berlin
> Handelsregister: Amtsgericht Berlin-Charlottenburg, HRB 80254
> Geschäftsführer: Matthias Barmeier, Harald Dürr
> -----------------------------------
> Diese E-Mail kann vertrauliche und/oder rechtlich geschützte
> Informationen enthalten. Wenn Sie nicht der richtige Adressat
> sind oder diese E-Mail irrtümlich erhalten haben, informieren
> Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser
> E-Mail ist nicht gestattet.
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Mime
View raw message