tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eva Allen <all...@oclc.org>
Subject Re: How to get Tomcat to send proper charset?
Date Wed, 13 Jun 2007 06:08:31 GMT


Allen,Eva <allene <at> oclc.org> writes:
* snip *
> 
> But even though that response header is explicitly set in the code,
> somehow, somewhere it's changed again, because I've determined that the
> content type response header looks like this:
> 
>  Content-Type: text/html;charset=ISO-8859-1
> 

Bad form to follow up my own message, I know, but it turns out that I'd put
the setContentType call *after* the getWriter call which the servlet API tells
you doesn't work.  Once I switched the order of the calls, things displayed
properly.





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


Mime
View raw message