cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pier Fumagalli (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-1103) JSP content type overrides serializer
Date Tue, 25 Oct 2005 15:47:55 GMT
     [ 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


Mime
View raw message