Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 10496 invoked by uid 500); 27 Mar 2001 18:46:27 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Delivered-To: moderator for cocoon-dev@xml.apache.org Received: (qmail 8904 invoked from network); 27 Mar 2001 18:43:44 -0000 Message-ID: <85CDFD92C550D311A1A40008C7DFA81A7777E1@firewall.altacast.com> From: "Lock, Fred" To: "'cocoon-dev@xml.apache.org'" Subject: C2: trouble getting streaming to work as expected Date: Tue, 27 Mar 2001 11:43:40 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hello, My partner and I are using the enclosed XSP (see below) to experiment with the streaming capabilities of C2. We are applying the dynamic-page2html.xsl which comes with the C2 distribution to format the output. We are using IE version 5.5 to view the output. C2 is running on Tomcat 3.2.1. We expect that when we hit the XSP we should see the browser displaying a new integer number on successive lines every 0.5 seconds. However, what actually happens is that we wait approximately 70 seconds, and then integers 0 through 131 are displayed. We then wait another 70 seconds and integers 132 through 268 are displayed, etc. It appears that the output is being cached, then streamed out, cached, etc. Is there some way to reduce this cache, or force a flush? Thanks, Fred ================================================================= XSP file to experiment with C2 streaming. dynamic-page2html.xsl is used to style the output. ================================================================= A Simple XSP Page Some page content for (int i = 0 ; i < 500 ; i++) { i try { Thread.sleep(500); } catch (Exception e) {} } --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org