tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Howard" <chow...@asgna.com>
Subject Re: java.lang.IllegalStateException: Response has already been committed
Date Tue, 09 May 2000 17:43:16 GMT
Very strange.  I just started getting this same exception today. It works
fine under servletexec from New Atlanta.  Let me know if  you find anything
and I will do the same.

----- Original Message -----
From: <kert@tb.cz>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, May 09, 2000 10:35 AM
Subject: java.lang.IllegalStateException: Response has already been
committed


> Good morning, I have following problem:
> I have some main jsp page, trying to include sub-page
> into it (<jsp:include ...) and also trying to include
> sub-sub-page into that sup-page, but I am getting
> following exception:
>
> java.lang.IllegalStateException: Response has already
> been committed
>
> So I looked at the source code of servlet which had
> been generated from sub-page and found following lines
> there:
>
> {
>   String _jspx_qStr = \"\";
>   out.flush();
>   pageContext.include
> (\"/stub_jsp/comp.flash.scrsav.stub.jsp\" + _jspx_qStr);
> }
>
> The last line will throw that exception. Is this a bug
> or not? How can the jsp compiler put out.flush() in the
> middle of the servlet? (there is also some html code
> after that include)
>
> Thanks for any suggestions
> Roman Kratochvil
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>


Mime
View raw message