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 Thu, 12 Aug 2004 13:57:07 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 jpvanalteren@binarysoul.net  2004-08-12 13:57 -------
I've found a simple work-around for this bug. Starting your JSP with '<%@ page
language="java" contentType="" %>' or setting the content type in a scriptlet
('<% response.setContentType(""); %>') works for me. Apparently, Tomcat
(v5.0.24) sets the content type to a default of 'text/html' when the JSP doesn't
explicitly set it.

Kind regards,

Jonathan

Mime
View raw message