httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lalita sattavat <lolly...@yahoo.com>
Subject Re: [users@httpd] Problem with sendRedirect
Date Mon, 23 Jun 2003 17:31:13 GMT
hi,
 
check out ur JDK version... we had the same problem.... the jdk version on the app server
was 1.3 and the classes were jdk1.4 compiled version ... when we changed the jdk version on
the app server to 1.4 it no longer gave the sae exception... do not know if this will solve
ur problem but check it out.............

 wrote:
No answer for my problem? :(
 
Laurent
----- Original Message ----- 
From: Laurent de Menditte 
To: users@httpd.apache.org 
Sent: Wednesday, June 18, 2003 11:02 AM
Subject: [users@httpd] Problem with sendRedirect


Hi,
 
For a professionnel application, we've juste upgraded from Apache 1.3.23 to Apache 2.0.45
on a Windows 2000 Server, and when accessing some of our JSP pages (we also use Resin 2.1.9),
we have now this error which often occurs: 
 
[2003/06/13 08:56:54] Can't sendRedirect() after data has committed to the client.
java.lang.IllegalStateException: Can't sendRedirect() after data has committed to the client.
 at com.caucho.server.http.Response.sendRedirect(Response.java:613)
 at _wap._csacqcol__jsp._jspService(_csacqcol__jsp.java:264)
 at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
 at com.caucho.jsp.Page.subservice(Page.java:506)
 at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182)
 at com.caucho.server.http.Invocation.service(Invocation.java:315)
 at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
 at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:344)
 at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274)
 at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
 at java.lang.Thread.run(Thread.java:536)
 
We added this line in the JSP pages:
 
<%@ page buffer="10kb" %>
 
we also suppressed all unnecessary whitespaces but we still have the same problem.
How can we estimate the buffer size which we must use? Why did this problem never happen with
Apache 1.3?
 
Thanks for your help,
 
Laurent


---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
Mime
View raw message