Hi,

You found the thread on which I based my solution! :-)

However, for some reason it doesn't work on readers. I hadn't noticed
until after my first reply that I had commented it out in my own sitemap
and had replaced it with a generate/serialize wrapped in the set-header
action.

It looks apparently like the response object is not yet created at the
moment that the action is executed, which is before the reader. Design
flaw?

Kind regards,
Geert

> 
   
 
Drs. G.P.H. Josten
Consultant
 
 

Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665  JZ  Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
www.daidalos.nl
KvK 27164984


De informatie - verzonden in of met dit emailbericht - is afkomstig van 
Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit 
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit 
bericht kunnen geen rechten worden ontleend.
 

> Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Namens Bertrand Delacretaz
> Verzonden: vrijdag 29 september 2006 16:49
> Aan: [email protected]
> Onderwerp: Re: RE: link to a file
> 
> On 9/29/06, Roel Croonenberghs <[EMAIL PROTECTED]> wrote:
> 
> > ...it opens .html, .txt, .jpg, .gif  files in the browser 
> instead of 
> > downloading them...
> 
> You need to set the content-disposition HTTP header to 
> trigger a download, this thread shows how (I think, didn't 
> check in detail):
> 
> http://marc2.theaimsgroup.com/?l=xml-cocoon-users&m=1108910965
> 22009&w=2
> 
> And this explains the principle:
> http://www.onjava.com/pub/a/onjava/excerpt/jebp_3/index3.html
> 
> -Bertrand
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to