The
only time I've seen this is when there is an exception of some sort being
generated in your JSP page but because the buffer has already been filled up and
data sent to the client it can't flush the buffer and send the user to an error
page of some sort.
Try
increasing the size of your page buffer if you want to figure out what exception
is causing this as a much larger buffer (just check what the normal size is for
the jsp in question once all the data has been sent to the browser) is less
likely to be flushed before your exception is encountered.
Just a
warning, this is what was happening with ServletExec when I used to use
that...I'm just guessing it's the same thing in this case. Also, check
line 1375 or 1376 (hard to read the font in the e-mail) of the *generated* Java
code from the JSP and see if that line could be throwing an exception of some
sort.
Good
luck.
-Mike
Hi guys, here's a strange,
strange thing. I have a jsp page, which includes another page.
Basically,
-----------------------------------------------------------
page1.jsp:
<%@ page ... %>
<%
if
(request.getParameter("checkpage").equals("page2"))
{%>
<%@ include file="page2.jsp" %>
<%}
else ...
%>
-----------------------------------------------------------
page2.jsp:
<%@ page ... %>
<%
do a database
update
%>
<jsp:forward page="page1.jsp">
<jsp:param name="checkpage"
value="page2" />
</jsp:forward>
-----------------------------------------------------------
So anyway, this works fine, and has worked fine
for some time. All of a sudden though, I am getting the
error:
java.io.IOException: Data has already been flushed to the client
at com.evermind.server.http.EvermindJSPWriter.clear(JAX)
at /ProAdmin.jsp._jspService(/ProAdmin.jsp.java:1376)
at com.orionserver.http.OrionHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.xj(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d3.sw(JAX)
at com.evermind.server.http.d3.su(JAX)
at com.evermind.server.http.ef.s1(JAX)
at com.evermind.server.http.ef.do(JAX)
at com.evermind.util.f.run(JAX)
This appears to be a problem with orion, but I have NO idea what might be causing it or how to fix it, despite a great deal of searching. I am running orion 1.4.5... Can ANYONE shed some light on this? It is driving me CRAZY!!
Derek Akers,
Eldan
Software.
|