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=24970>. 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=24970 charset appended to content-type even if not text/* ------- Additional Comments From [EMAIL PROTECTED] 2004-08-02 08:14 ------- OK, I read the "JavaServer Pages Specification" and it's clear that JSPs are servlets only designed to send TEXT data. Trying to send a PDF or other binary data via a JSP should not be done. A servlet should be written for this kind of things. The workaroud 'response.reset()' should not be used in a production environment. It works with the actual Coyote implementation, but nothing can guarantee that others implementation will accept it. In facts, the getOutputStream() method should not be allowed in a JSP. The getWriter() method should be called() as soon as possible in the generated java code of the JSP. Then a call to getOutputStream() would result in a IllegalStateException. Regards --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]