I can't see why. Perhaps you are overriding it later in the request processing? Struts uses response.setContentType()

The docs say: overridden automatically if a
     * <code>RequestDispatcher.forward()</code> call is
     * ultimately invoked.

but that leaves me none the wiser.


Adam


On 09/23/2003 03:25 PM Joerg Heinicke wrote:
Joerg Heinicke wrote:


I found http://jakarta.apache.org/struts/api/org/apache/struts/config/ControllerConfig.html#contentType and set the contentType in the struts-config.xml with
<controller contentType="text/html;charset=UTF-8"/>.


Does not work as expected. Mozilla recognizes the pages know as ISO-8859-1 and no longer UTF-8.

Joerg


-- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9


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



Reply via email to