cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Mayring <u...@denic.de>
Subject Re: IE bug whith FOP-produced PDFs : another solution
Date Tue, 02 Jan 2001 10:46:36 GMT
Sylvain Wallez wrote:
> 
> The Content-Disposition header is used to suggest a more appropriate
> filename to the browser than the filename part of the request address
> (see RFC 2616, section 19.5.1).

> +     response.addHeader("Content-Disposition", "attachment;
> filename=bar.pdf");

I suggest to use response.setHeader instead, because addHeader doesn't
exist in JSDK2.1 or below and thus won't run with JServ.

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

Mime
View raw message