Craig R. McClanahan wrote:
> You are trying to set the content type on the "real" response after it's
> been flushed (if the response is bigger than the output buffer), which
> won't do any good because the HTTP headers are long gone.
> 
> Try changing the setContentType() method in your wrapper to something like
> this:
> 
>   public void setContentType(String contentType) {
>     super.setContentType(contentType + ";charset=windows-1251");
>   }
> 
> to set the encoding on the "real" response as soon as the servlet or JSP
> page tries to set it on what it thinks the response is (i.e. the wraper
> that you've created).
> 

[skip]

Thank you!
Now I have it working!



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to