[opencms-dev] trouble with streaming

Christian Steinert christian_steinert at web.de
Thu Mar 23 13:27:39 CET 2006


Siegfried Puchbauer schrieb:
> I encountered the same problem some time ago with 6.0.2
>
> My solution was to do smth like this in the beginning of the jsp 
> (template or standalone jsp):
>
> response = CmsFlexController.getController(request).getTopResponse();
>
> After doing this you have the the Top Response object in your jsp, 
> which will allow you to stream. The wrapped Response Objects in 
> OpenCms get Buffered anyway, I think.
>
> Be carefull with includes ... they probably won't work.
>
> hth
Hi Siegfried

thank you for that hint... (although I'm a bit uncomfortable about it, I 
must say - but that's not your fault... :)

So is there no way of how streaming is MEANT to be implemented?
This is a bit confusing. Why have such a feature in the first place, if 
there's no proper way to use it...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060323/c99abf76/attachment.htm>


More information about the opencms-dev mailing list