Hi It cannot be opened on any computer in in the company or on our clients Pc's. This is my header:
(Response Status) HTTP/1.0 200 OK Content-Length 122130 Content-Type application/pdf Date Thu, 23 Sep 2004 09:58:45 GMT Server Tomcat Web Server/3.3.1 Final ( JSP 1.1; Servlet 2.2 ) but just shows a blank page. -----Original Message----- From: Michal Postupalski [mailto:[EMAIL PROTECTED] Sent: 23 September 2004 14:05 To: [EMAIL PROTECTED] Subject: Re: Opening fop pdf in Internet Explorer [EMAIL PROTECTED] napisał(a): > Hi, > > I have a process that creates a PDF through FOP and stores it in > Documentum (a document management service). When a user wishes to view the > PDF it is streamed back via a servlet into IE, but IE cannot open it and > the user is presented with a blank screen. > > To get around this we have to send it to a windows box and open and save > it in acrobat and then stream it back. > > Our HTTP header includes the content type and length. > > Does anyone know why the fop only version does not open? I set headers: response.setContentType("application/pdf"); response.setHeader("Content-Length", length ); response.setHeader("Last-Modified", "Tue, 03 Jun 01997 08:14:00 GMT"); and it works fine for me. Does it happen only on one computer? Did you test it on others? plastic --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]