cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz" <bdelacre...@apache.org>
Subject Re: RE: link to a file
Date Fri, 29 Sep 2006 14:48:41 GMT
On 9/29/06, Roel Croonenberghs <Roel.Croonenberghs@sofico.be> 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=110891096522009&w=2

And this explains the principle:
http://www.onjava.com/pub/a/onjava/excerpt/jebp_3/index3.html

-Bertrand

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message