httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laurent de Menditte" <>
Subject Re: [users@httpd] Problem with sendRedirect
Date Mon, 30 Jun 2003 08:14:28 GMT

Our JDK version is 1.4.
We didn't compile Apache, but only installed the ready-to-run version we downloaded on the
web. How can we know which JDK version it has been compiled with?

  ----- Original Message ----- 
  From: lalita sattavat 
  Sent: Monday, June 23, 2003 7:31 PM
  Subject: Re: [users@httpd] Problem with sendRedirect


  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.............

    No answer for my problem? :(

      ----- Original Message ----- 
      From: Laurent de Menditte 
      Sent: Wednesday, June 18, 2003 11:02 AM
      Subject: [users@httpd] Problem with sendRedirect


      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
       at com.caucho.server.http.Response.sendRedirect(
       at _wap._csacqcol__jsp._jspService(
       at com.caucho.jsp.JavaPage.service(
       at com.caucho.jsp.Page.subservice(
       at com.caucho.server.http.FilterChainPage.doFilter(
       at com.caucho.server.http.Invocation.service(
       at com.caucho.server.http.CacheInvocation.service(
       at com.caucho.server.http.RunnerRequest.handleRequest(
       at com.caucho.server.http.RunnerRequest.handleConnection(

      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,


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