You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Victor Mote <vi...@outfitr.com> on 2003/05/05 08:42:17 UTC
RE: FAQ on embedded PDF viewing in IE
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