It may be a buffering issue. Try adding: <%@ page buffer = "1000kb" %> <%@ page autoFlush = "false" %>
to the very top of the page. Greg http://www.hotscifi.com -----Original Message----- From: James A. N. Stauffer [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 5:49 AM To: JDJList Subject: [jdjlist] JSP Cannot forward when getOutputStream() already called I have a simple JSP that forwards the request to a servlet (doGetPost is a method that I made) and sometimes it prints an error message to the screen above the correct output. Any ideas? JSP (complete): <%@ page language="java" errorPage="Error.jsp"%> <% new sps.webec.server.servlets.GetDocument().doGetPost(request, response, true); %> Error: --------------------------------------------- JRun Servlet Error --------------------------------------------- com.livesoftware.jsp.JSPServlet: java.lang.IllegalStateException: Cannot forward when getOutputStream() already called. --------------------------------------------- HTTP/1.1 200 OK Server: Microsoft-IIS/4.0 Date: Mon, 13 May 2002 12:42:12 GMT Connection: keep-alive Content-Length: 436437 Connection: Keep-alive Content-Type: text/html ===== = o o o o o o o . . . __________________________ _____=======_||___ o _____ | James A. N. Stauffer | | Stauffer_James | .][__n_n_|DD[ ====____ | Spam food: [EMAIL PROTECTED] | | @yahoo.com | >(________|__|_[________]_|________________________|_|________________| _/oo OOOOO oo` ooo ooo 'o?o?o o?o?o` 'o?o o?o` __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com To change your membership options, refer to: http://www.sys-con.com/java/list.cfm To change your membership options, refer to: http://www.sys-con.com/java/list.cfm
