Joern Fornfeist wrote:
>
> 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!

What are you doing in the included page? After the response has been flushed
("committed") there are a number of things that you can not do, such as set
headers and forward to another page, see the JSP and servlet specifications
for details.

Hans
--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com

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