cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Heid <h...@fh-heilbronn.de>
Subject outputBufferSize problem
Date Fri, 14 Jan 2005 17:34:59 GMT
Hello.

I've used

<map:pipeline>
 <map:parameter name="outputBufferSize" value="1"/>

and
<map:pipes default="noncaching">
 <map:pipe name="noncaching"
src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline
">
   <parameter name="outputBufferSize" value="1"/>

to realize, that the output of a XSP file will be send to the client
directly, without any caching.

I used the  following XSP to test it:

<xsp:page language="java" xmlns:xsp="http://apache.org/xsp">
<html>
 <head>
  </head>
  <body>
   <div id="data">Text</div>
   <xsp:logic>
       try { Thread.sleep (3000); } catch (Exception ex) {}
   </xsp:logic>
    <script language="JavaScript">
      document.getElementById ('data').innerHTML = 'Test-Row 1';
    </script>
   <xsp:logic>
       try { Thread.sleep (3000); } catch (Exception ex) {}
   </xsp:logic>
    <script language="JavaScript">
      document.getElementById ('data').innerHTML = 'Test-Row 2';
    </script>
   <xsp:logic>
       try { Thread.sleep (3000); } catch (Exception ex) {}
   </xsp:logic>
    <script language="JavaScript">
      document.getElementById ('data').innerHTML = 'Test-Row 3';
    </script>
  </body>
</html>
</xsp:page>

Well, the page will be displayed 15s after asking the server...

Does anybody know the reason?

I'm using Cocoon 2.1.6 and Resin 3.0.10 on Win XP.

Regards,
JOERN_HEID


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message