So, if i want to make a client download a file in a secure mode (if i put on
a dir of tomcat the file can be viewed by anyone and) in wich way i should
do it?
----- Original Message -----
From: "Paul Spencer" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, July 08, 2002 3:48 PM
Subject: Re: HTTP Header by portlet
> Raffaele,
> In short you can not set the HTTP headers. They are sent to the browser
> before any portlet content is generated or actions are called.
>
> Paul Spencer
>
>
> Raffaele Ragni wrote:
>
> > Hi, i'm trying to do an attachment with HTTP headers, but i think that
cause the portlet is insede a site, it doesnt work, and in fact it doesn't,
returning the jetspeed page (all the html of the index) as a file attached.
> >
> > I'm using it in this way: response.setHeader("Content-Disposition",
"attachment; filename=/a.htm;");
> > (i've put a.htm in the tomcat root and sysfile root, so its on both
parts)
> >
> > Now, there is a method to make it work or its impossible to send right
header information by a portlet without it having problems with the global
page header? Thanks.
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>