Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 73262 invoked from network); 25 Oct 2005 15:48:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Oct 2005 15:48:27 -0000 Received: (qmail 38461 invoked by uid 500); 25 Oct 2005 15:48:19 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 38404 invoked by uid 500); 25 Oct 2005 15:48:17 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 38386 invoked by uid 99); 25 Oct 2005 15:48:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2005 08:48:16 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id EDE4021F for ; Tue, 25 Oct 2005 17:47:55 +0200 (CEST) Message-ID: <1878143280.1130255275972.JavaMail.jira@ajax.apache.org> Date: Tue, 25 Oct 2005 17:47:55 +0200 (CEST) From: "Pier Fumagalli (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Updated: (COCOON-1103) JSP content type overrides serializer Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/COCOON-1103?page=all ] Pier Fumagalli updated COCOON-1103: ----------------------------------- Bugzilla Id: (was: 27957) Component: Blocks: Java Server Pages (was: Blocks: (Undefined)) Description: When the JSPGenerator is used to provide XML to cocoon pipelines, any call to setContentType() from the JSP page (including the default of text/html), overrides the content type specified by the pipeline's serializer. Thus if the JSP page sets the content type, which by default is text/html, and the cocoon pipeline serializes to XML, the resulting content type is text/html. was: When the JSPGenerator is used to provide XML to cocoon pipelines, any call to setContentType() from the JSP page (including the default of text/html), overrides the content type specified by the pipeline's serializer. Thus if the JSP page sets the content type, which by default is text/html, and the cocoon pipeline serializes to XML, the resulting content type is text/html. > JSP content type overrides serializer > ------------------------------------- > > Key: COCOON-1103 > URL: http://issues.apache.org/jira/browse/COCOON-1103 > Project: Cocoon > Type: Bug > Components: Blocks: Java Server Pages > Versions: 2.1.5 > Environment: Operating System: Linux > Platform: Other > Reporter: Garrick Dasbach > Assignee: Cocoon Developers Team > > When the JSPGenerator is used to provide XML to cocoon pipelines, any call to > setContentType() from the JSP page (including the default of text/html), > overrides the content type specified by the pipeline's serializer. Thus if > the JSP page sets the content type, which by default is text/html, and the > cocoon pipeline serializes to XML, the resulting content type is text/html. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira