Alireza Nahavandi wrote:
>
> Hi All,
> I am calling a servlet using <jsp:include ... > tag from jsp and then
> forward to appropriate page according to some conditions. I am getting this
> error :
>
> "java.io.IOException: Unable to clear JspWriter buffer, data already written
> to stream."
>
> without forwarding there is no problem. Any solution?


See Tip 2 in this article I wrote for O'Reilly:

  <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