Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 11060 invoked from network); 26 Feb 2002 19:40:52 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 26 Feb 2002 19:40:52 -0000 Received: (qmail 7417 invoked by uid 97); 26 Feb 2002 19:40:31 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 7386 invoked by uid 97); 26 Feb 2002 19:40:30 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 7375 invoked from network); 26 Feb 2002 19:40:30 -0000 X-Sent: 26 Feb 2002 19:40:25 GMT Message-ID: <3C7BE4A8.5040400@yahoo.com> Date: Tue, 26 Feb 2002 14:40:24 -0500 From: Dmitry Nikelshpur Reply-To: dnikelshpu@yahoo.com User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: IlligalStateException -- getOutputStream() has already been called for this response. Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello everyone. I had posted a similar message before, but either did not get replies or missed them. I am using a JavaBean in a JSP page. This bean draws charts and graphs depending on supplied data... When I call the JSP page directly from the browser, the graph displays properly, and no error messages are dumped to catalina.out. When I have a servlet forward to the JSP page, the graphs display properly, but I get a message in catalina.out: java.lang.IlligalStateException: getOutputStream() has already been called for this response. When I have a servlet include the JSP page, I get garbage in the browser, and the same message in catalina.out, java.lang.IlligalStateException: getOutputStream() has already been called for this response. I had seen posts regarding this error, and believe that I saw something in the bug databasee, but still no solution. Is this behavior 'normal?' for JSPs / Servlets? The bean that I am using to create the charts is called jspChart, and is at: http://www.javaside.com/u_jspchart.html This URL contains a sample JSP page, so any servlet that includes / forwards this page should produce above results. I would apprecieate it if you could BCC me in your replies, to make sure I get the message. Also, if you have any other solutions for creating charts/graphs dynamically, with the ability to include/forweard from servlets, I'll be more than pleased... Thanks in advance! Dmitry -- To unsubscribe: For additional commands: Troubles with the list: