xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor Mote" <...@outfitr.com>
Subject RE: FAQ on embedded PDF viewing in IE
Date Mon, 05 May 2003 06:42:17 GMT
Matthew Cruickshank wrote:

> You probably already know this, but IE will disregard the url filename
> extension if you use this http header,
>
> 	Content-Disposition: inline; filename="something.pdf"
>
> I use this in addition to the ContentType of application/pdf.

So, to implement this in the example servlet that the web page references,
would you suggest the following patch?

After line 137:
            response.setContentType("application/pdf");
Add line 138:
            response.setHeader("Content-Disposition", "inline;
filename=\"something.pdf\"");

Victor Mote


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message