<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Nachricht</TITLE>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=808434008-13112002><FONT face=Arial color=#0000ff
size=2>Nico,</FONT></SPAN></DIV>
<DIV><SPAN class=808434008-13112002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=808434008-13112002><FONT face=Arial color=#0000ff
size=2>unfortunalty this might be a OpenCms core bug in the setting of the
headers. </FONT></SPAN></DIV>
<DIV><SPAN class=808434008-13112002><FONT face=Arial color=#0000ff size=2>I will
look into this in the next couple of days and keep you
informed.</FONT></SPAN><SPAN class=808434008-13112002><FONT face=Arial
color=#0000ff size=2></DIV>
<DIV>
<P><FONT size=2>Best Regards,<BR>Alex.<BR><BR>Alexander Kandzior<BR>OpenCms
Group / Alkacon Software</FONT> </P></FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
owner-opencms-dev@www.opencms.org [mailto:owner-opencms-dev@www.opencms.org]
<B>On Behalf Of </B>Nico Krause<BR><B>Sent:</B> Wednesday, November 13, 2002
9:22 AM<BR><B>To:</B> 'opencms-dev@www.opencms.org'<BR><B>Subject:</B> RE:
[opencms-dev] opencms.propertis
httpstreaming.enabled=true<BR><BR></FONT></DIV>
<P><FONT size=2>Hi all,</FONT> </P>
<P><FONT size=2>I reset the variable to false again in opencms.properties - my
templates are working good again :-). Then I added a property stream:true to
this JSP page. But after calling my JSP page... it writes still the content
type "text/html" instead of:</FONT></P>
<P><FONT size=2>response.setContentType("text/csv");</FONT> <BR><FONT
size=2>response.setHeader("Content1-disposition","inline;filename=PaymentsOverview.csv");</FONT>
</P>
<P><FONT size=2>stated in my JSP file!</FONT> </P>
<P><FONT size=2>The Download of the *.csv file - works pretty good in normal
Tomcat Environment.</FONT> </P>
<P><FONT size=2>I currently I have installed OpenCMS 5 Beta 1 on Windows NT,
with MySQL on Linux. JAVA 1.3.1</FONT> </P>
<P><FONT size=2>Thank you for any help ..</FONT> </P>
<P><FONT size=2>Best Regards,</FONT> </P>
<P><FONT size=2>Nico</FONT> </P><BR><BR>
<P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From:
Alexander Kandzior [<A
href="mailto:alex@opencms.org">mailto:alex@opencms.org</A>] </FONT><BR><FONT
size=2>Sent: Mittwoch, 13. November 2002 08:45</FONT> <BR><FONT size=2>To:
opencms-dev@www.opencms.org</FONT> <BR><FONT size=2>Subject: Re: [opencms-dev]
opencms.propertis httpstreaming.enabled=true</FONT> </P>
<P><FONT size=2>Nico,</FONT> </P>
<P><FONT size=2>don't enable "httpstreaming.enabled=true" in
opencms.properties. This http</FONT> <BR><FONT size=2>streaming stuff is old,
buggy, and completly unrelated to JSP. Leave that</FONT> <BR><FONT
size=2>setting on "false".</FONT> </P>
<P><FONT size=2>On your JSP, set the page property "stream" to "true" (in the
explorer, with</FONT> <BR><FONT size=2>the context menu). This should be
all.</FONT> <BR><FONT size=2>The trick should work in all OpenCms releases
with JSP support.</FONT> </P>
<P><FONT size=2>Best Regards,</FONT> <BR><FONT size=2>Alex.</FONT> </P>
<P><FONT size=2>Alexander Kandzior</FONT> <BR><FONT size=2>OpenCms Group /
Alkacon Software</FONT> </P><BR>
<P><FONT size=2>----- Original Message -----</FONT> <BR><FONT size=2>From:
"Nico Krause" <nico.krause@nsc.eu.com></FONT> <BR><FONT size=2>To:
<opencms-dev@www.opencms.org></FONT> <BR><FONT size=2>Sent: Wednesday,
November 13, 2002 7:11 AM</FONT> <BR><FONT size=2>Subject: [opencms-dev]
opencms.propertis httpstreaming.enabled=true</FONT> </P><BR>
<P><FONT size=2>> Hi all,</FONT> <BR><FONT size=2>></FONT> <BR><FONT
size=2>> I have a little question regarding to the</FONT> <BR><FONT
size=2>></FONT> <BR><FONT size=2>> httpstreaming.enabled=false</FONT>
<BR><FONT size=2>></FONT> <BR><FONT size=2>> variable in
opencms.properties. If I enable this variable the template</FONT> <BR><FONT
size=2>> stucture (frame/content/body/etc. will be destroyed while viewing
it</FONT> <BR><FONT size=2>> opencms will not display it correctly
(not in the way it was defined in</FONT> <BR><FONT size=2>> the
templates).</FONT> <BR><FONT size=2>></FONT> <BR><FONT size=2>> I
enabled this parameter because I implemented a small .jsp page wich</FONT>
<BR><FONT size=2>> should export me on-the-fly a *.csv file out of the
database.</FONT> <BR><FONT size=2>> The problem I head - was with the
following JSP code lines... which do</FONT> <BR><FONT size=2>> not seems
work in OpenCMS.</FONT> <BR><FONT size=2>></FONT> <BR><FONT size=2>>
response.setContentType("text/csv")</FONT> <BR><FONT size=2>> as also not
the: response.setHeader(".... filename.csv"); //Set the</FONT>
<BR><FONT size=2>> Filename on downloading. and/or saving.</FONT> <BR><FONT
size=2>></FONT> <BR><FONT size=2>> Do you have any idea - how to
implement this in OpenCMS - will I need</FONT> <BR><FONT size=2>> the new
OpenCMS Beta 2 in order to do this.</FONT> <BR><FONT size=2>> Regarding to
te email of Anil Patil I would also like some quick & dirty</FONT>
<BR><FONT size=2>> sniplets how to use the main features and JSP-tags &
librarys in and of</FONT> <BR><FONT size=2>> OpenCMS. (temples etc.)</FONT>
<BR><FONT size=2>></FONT> <BR><FONT size=2>> That's all - please help me
.... I'm getting confused ...</FONT> <BR><FONT size=2>></FONT> <BR><FONT
size=2>> Have a successfull and nice day!</FONT> <BR><FONT
size=2>></FONT> <BR><FONT size=2>> Nico</FONT> <BR><FONT
size=2>></FONT> </P></BLOCKQUOTE></BODY></HTML>