It seems that you are already sending output back to the browser. Try just saving all 
of your output to a StringBuffer or something and then send it back when everything is 
okay. The error message is saying that you have already sent back some output (which 
includes the HTTP headers) and that it would not be good to send another HTTP header 
once you have already sent one. So, try buffering your output until the very end of 
your JSP.

>>> [EMAIL PROTECTED] 8/1/00 5:51 >>>
Hi,

I have a problem with the include tag <jsp:include page="<%= url %>"
flush="true" />. The url string is determined in the previous java code of
the including java server page. The included page is also a jsp. On
executing I get the exception: java.lang.IllegalStateException: Response has
already been committed.
Can anybody help me? It's an urgent problem!

Thanks in advance, Joern.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to