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]>