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=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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to