W3C home > Mailing lists > Public > www-international@w3.org > July to September 2004

Re: JSP page directive contentType overriden by Apache tomcat?

From: Jungshik Shin <jshin@i18nl10n.com>
Date: Sat, 17 Jul 2004 08:48:31 +0900
Message-ID: <40F8694F.9040105@i18nl10n.com>
To: andrea.vine@sun.com
Cc: aphillips@webmethods.com, Paul Deuter <Paul.Deuter@plumtree.com>, www-international@w3.org

A. Vine wrote:

> This article may help:
> http://java.sun.com/developer/technicalArticles/Intl/MultilingualJSP/
I missed this message when I wrote my previous reply. Thanks a lot for 
the reference.

Paul Deuter wrote:

> Note: If you are using Tomcat 4.1.30 then you must use JSTL 1.0.  It is JSTL 1.0 that has the side-effect > of setting the content-type header.  This bug has been fixed in later versions of JSTL, but they require you > to use a later version of Tomcat too.

I'm not bound to use Tomcat 4.1.30, but Nutch is deployed in many 
different places so that I think I have to emply a work-around mentioned 
in the document above which is flushing the response buffer after 
setting 'charset' explicitly but before any use of JSTL that may 
implicitly reset charset.  Hopefully, custom-filters are not in action...

Received on Friday, 16 July 2004 19:48:41 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:24 UTC