2 things I would check right offhand
1)Make sure your jar files are in sync..best to use the Jars that install
with your version of Tomcat
2)Check for funky casts Integer to BinaryStream, Clobs to Strings that sort
of thing

HTH,

Martin Gainty

(cell) 617-852-7822




From: Zulekha Banu <[EMAIL PROTECTED]>
Reply-To: A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Error involving <jsp:forward> :buffer getting clear
Date: Mon, 6 Dec 2004 23:13:44 -0700
Received: from mc9-f16.hotmail.com ([65.54.166.23]) by mc9-s13.hotmail.com
with Microsoft SMTPSVC(5.0.2195.6824); Mon, 6 Dec 2004 22:27:55 -0800
Received: from swjscmail2.java.sun.com ([192.18.99.108]) by
mc9-f16.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Mon, 6 Dec 2004
22:26:59 -0800
Received: from swjscmail1 (swjscmail1.Sun.COM [192.18.99.107])by
swjscmail2.java.sun.com (Postfix) with ESMTPid B524E21A7B; Mon,  6 Dec 2004
23:19:13 -0700 (MST)
Received: from JAVA.SUN.COM by JAVA.SUN.COM (LISTSERV-TCP/IP release 1.8e)
with          spool id 48649484 for [EMAIL PROTECTED]; Mon, 6 Dec
2004          23:13:58 -0700
Received: from swjscmail2.java.sun.com (swjscmail2.Sun.COM [192.18.99.108])
by          swjscmail1.java.sun.com (Postfix) with ESMTP id E72BD4BB3 for
       <[EMAIL PROTECTED]>; Mon,  6 Dec 2004 23:13:57 -0700 (MST)
Received: from swjscmail1 (swjscmail1.Sun.COM [192.18.99.107]) by
swjscmail2.java.sun.com (Postfix) with ESMTP id 1FFEA21421; Mon,  6
 Dec 2004 23:18:55 -0700 (MST)
X-Message-Info: 29Fz9OI/Flh/1Tca/GBGMU/dR8h4MfOu2YYdI5CWMW4=
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Precedence: list
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 07 Dec 2004 06:26:59.0481 (UTC)
FILETIME=[C1B26090:01C4DC25]

Hi
I m trying to forward from a controller jsp to a JSP page from where the
control is again transferred to the controller jsp from here again to a new
jsp and so on.
The code looks like this:

control.jsp:
-------------

if(ch==1){
....
...
<jsp:forward page=test1.jsp />
}
if(ch==2){
....
...
<jsp:forward page=test2.jsp />
}
...
..

It works fine for the first forward to test1.jsp but after that throws the
following error:

java.io.IOException: "Error: Attempt to clear a buffer that's already been
flushed"
 at java.io.IOException.(IOException.java:49)
 at com.sun.jsp.runtime.JspWriterImpl.clear(JspWriterImpl.java:125)
        .....

I have tried setting the page buffer and set autoflush property also to
false, still the problem persists.

If You have any idea please share..

Thanks
Zulekha

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com

Reply via email to