HTTP Header by portlet

2002-07-08 Thread Raffaele Ragni
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", "att

Re: HTTP Header by portlet

2002-07-08 Thread Paul Spencer
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, i

Re: HTTP Header by portlet

2002-07-08 Thread Raffaele Ragni
ECTED]> 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 w

Re: HTTP Header by portlet

2002-07-09 Thread Paul Spencer
Sounds like a link, Paul Spencer Raffaele Ragni wrote: > 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? > -- To unsubscribe, e-mail: For addition

Re: HTTP Header by portlet

2002-07-09 Thread Raffaele Ragni
ide Tomcat ? Thanks ! Raffaele - Original Message - From: "Paul Spencer" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Tuesday, July 09, 2002 12:25 PM Subject: Re: HTTP Header by portlet > Sounds like a link, > > Paul Spenc

Re: HTTP Header by portlet

2002-07-09 Thread Paul Spencer
> Thanks ! > > Raffaele > > - Original Message - > From: "Paul Spencer" <[EMAIL PROTECTED]> > To: "Jetspeed Users List" <[EMAIL PROTECTED]> > Sent: Tuesday, July 09, 2002 12:25 PM > Subject: Re: HTTP Header by portlet > >

Re: HTTP Header by portlet

2002-07-09 Thread Raffaele Ragni
think that its possible to send headers via portlet, at least the save box appeared. - Original Message - From: "Paul Spencer" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Tuesday, July 09, 2002 1:23 PM Subject: Re: HTTP Head

Re: HTTP Header by portlet

2002-07-09 Thread Paul Spencer
Raffaele Ragni wrote: > Mh.. i've noticed that i can't put a path on attachments filenames,or at > least the filename works only without paths, i watched the rfc of http to > see if there is another parameter fot that but nothing comed up. > And its the same problem like i were using it via por