[opencms-dev] opencms.propertis httpstreaming.enabled=true

Alexander Kandzior alex at opencms.org
Wed Nov 13 08:44:40 CET 2002


Nico,

don't enable "httpstreaming.enabled=true" in opencms.properties. This http
streaming stuff is old, buggy, and completly unrelated to JSP. Leave that
setting on "false".

On your JSP, set the page property "stream" to "true" (in the explorer, with
the context menu). This should be all.
The trick should work in all OpenCms releases with JSP support.

Best Regards,
Alex.

Alexander Kandzior
OpenCms Group / Alkacon Software


----- Original Message -----
From: "Nico Krause" <nico.krause at nsc.eu.com>
To: <opencms-dev at www.opencms.org>
Sent: Wednesday, November 13, 2002 7:11 AM
Subject: [opencms-dev] opencms.propertis httpstreaming.enabled=true


> Hi all,
>
> I have a little question regarding to the
>
> httpstreaming.enabled=false
>
> variable in opencms.properties. If I enable this variable the template
> stucture (frame/content/body/etc. will be destroyed while viewing it
> opencms will not  display it correctly (not in the way it was defined in
> the templates).
>
> I enabled this parameter because I implemented a small .jsp page wich
> should export me on-the-fly a *.csv file out of the database.
> The problem I head - was with the following JSP code lines... which do
> not seems work in OpenCMS.
>
> response.setContentType("text/csv")
> as also not the: response.setHeader(".... filename.csv");   //Set the
> Filename on downloading. and/or saving.
>
> Do you  have any idea - how to implement this in OpenCMS - will I need
> the new OpenCMS Beta 2 in order to do this.
> Regarding to te email of Anil Patil I would also like some quick & dirty
> sniplets how to use the main features and JSP-tags & librarys in and of
> OpenCMS. (temples etc.)
>
> That's all - please help me .... I'm getting confused ...
>
> Have a successfull and nice day!
>
> Nico
>




More information about the opencms-dev mailing list