ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Dynamically Creating PDFs in a Web Application
Subject:   pdf does not load with IE 6.0.2800.1106
Date:   2004-03-02 12:33:51
From:   joeseminara
Response to: pdf does not load with IE 6.0.2800.1106

I was having this same problem with Acrobat 5.1 and IE 6.0.2800.1106. IE would display the File Download dialog, and detect the PDF content type, but no matter if you either chose Open or Save, IE would complain about not finding the file, and to try again later. But it has no problems with actual PDF files, only the streams.


This fix, from http://www.lowagie.com/iText/faq.html#msie and Nicolas Guichard,
removes the problem:


response.setHeader("Expires", "0");
response.setHeader("Cache-Control", "must-revalidate, post-check=0, pre-check=0");
response.setHeader("Pragma", "public");


1 to 1 of 1
  1. pdf does not load with IE 6.0.2800.1106
    2004-09-14 11:56:27  rshimpi [View]

1 to 1 of 1