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/05/08 03:09:45 UTC

DO NOT REPLY [Bug 27957] - 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





------- Additional Comments From joerg.heinicke@gmx.de  2004-05-08 01:09 -------
setContentType() is called inside Cocoon when the pipeline is set up. Afterwards
the pipeline is processed an the JSP calls setContentType() again.

How to fix it? Either change the setContentType() handling some how, but I guess
that's not possible due to the general streaming. Or prevent the JSP from
setting the content type by not delegating the call in JSPEngineServletResponse.

Carsten? Unico? Is the latter the way to go?

Joerg