Try setting the buffer size for the page - default is 8k.

<%@ page buffer="25kb" autoFlush="false" %>

Dunno if this will help.

Scott

----- Original Message -----
From: "Lai Kok Cheong" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, November 09, 2001 3:22 AM
Subject: RE: IllegalStateException: response already committed


> Please post at least a snippet of the code so I could analyze your
problem.
> okay.
>
> > -----Original Message-----
> > From: Steven Leija [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, November 08, 2001 4:32 PM
> > To: '[EMAIL PROTECTED] '
> > Subject: IllegalStateException:  response already committed
> >
> > Hey All,
> >
> > I'm running into a weird exception.
> >
> > I'm making an invocation to a servlet which returns a LARGE String
object.
> > From this, I'm passing it into a variable so that I can display it on
the
> > response page.  Now I can't figure out if the problem is with Struts or
> > with
> > weblogic.  I'm hitting the forward method and exiting my Action class
then
> > I
> > hit this exception.
> >
> > Thanks for any help!
> >
> > Steven
> >
> > Here is the stack trace:
> >
> > java.lang.IllegalStateException: response already committed
> >         at
> >
weblogic.servlet.internal.ServletResponseImpl.sendRedirect(ServletResponse
> > Im
> > pl.java:495)
> >         at
> >
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.
> > ja
> > va:1748)
> >         at
> > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
> >         at
> > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at
> >
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
> > va
> > :265)
> >         at
> >
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.ja
> > va
> > :200)
> >         at
> >
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServlet
> > Co
> > ntext.java:2456)
> >         at
> >
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.ja
> > va
> > :2039)
> >         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> >         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to