You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/03/25 21:09:25 UTC

DO NOT REPLY [Bug 27957] New: - JSP content type overrides serializer

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27957>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27957

JSP content type overrides serializer

           Summary: JSP content type overrides serializer
           Product: Cocoon 2
           Version: 2.1.4
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: blocks
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: Garrick@musicrebellion.com


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.