cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27957] - JSP content type overrides serializer
Date Tue, 18 May 2004 14:46:53 GMT
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 Garrick@musicrebellion.com  2004-05-18 14:46 -------
Making it a parameter of JSPEngine seems a bit broad.  The only component that
should have a choice to allow JSP pages to set content-type is the JSPReader. 
The JSPGenerator must never set the content-type, as it will be set by the
serializer at the end of the pipeline.  Thus if we provide the option, it should
be part of the JSPReader.  Maybe, if the content-type parameter of JSPReader is
set, then that content-type is used and any call to setContentType() from the
JSP page is ignored.  If the content-type parameter is not specified than any
call by the JSP page to setContentType() is used.

Mime
View raw message