Eduardo Miguel Oliveira wrote:
>
> Hi
>
> I'm trying to make an include in my JSP with the tag
>
> <jsp:include page="JspToolbar.jsp" flush="true"/>
>
> but I always get the message:
>
> "java.lang.IllegalStateException: Cannot forward as OutputStream or Writer
> has already been obtained"
>
> This appends after the code in the include file has been "executed". It seem
> that I have to close the writer somehow. Can anyone help me on this???

See Tips 2 in my O'Reilly article:

  <http://java.oreilly.com/news/jsptips_1100.html>

Hans
--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com
Author of JavaServer Pages (O'Reilly), http://TheJSPBook.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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