cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylvain.wal...@anyware-tech.com>
Subject Re: IE bug whith FOP-produced PDFs : another solution
Date Tue, 02 Jan 2001 09:59:36 GMT


Ulrich Mayring a écrit :
> 
> 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
> 

You're right. response.addHeader is meant for headers with multiple
values, which is not the case here.
-- 
Sylvain Wallez
Anyware Technologies

Mime
View raw message