PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: PDF loading crash in IE with Google Toolbar
   PostPosted: 23 Mar 2010, 18:00 
If use PD4ML custom tags in JSP and test in IE with Google Toolbar enabled, when try to open the PDF file in a new tab, Google toolbar will block the page and crush.

Does anyone met this situation, and if yes how can I solve it?


  Subject: Re: PDF loading crash in IE with Google Toolbar
   PostPosted: 24 Mar 2010, 10:35 
1. Do you use IE8?
2. Do you load the PDF by HTTP or HTTPS?


  Subject: Re: PDF loading crash in IE with Google Toolbar
   PostPosted: 24 Mar 2010, 11:08 
Yes I use IE8 , but it seems that same thing happens in IE7 too.
I load the PDF by HTTP.

As a temporary solution, I open the PDF in an instance of Acrobat reader, not in browser (<pd4ml:transform inline="false" ...>), but i don't know if my client will be pleased with this.


  Subject: Re: PDF loading crash in IE with Google Toolbar
   PostPosted: 24 Mar 2010, 12:08 
I would do the following:

1. Test if your instance of IE+Google toolbar can open other PDFs from the Web.

2. Save a generated PDF and open it in a text editor. Does it start with %PDF- ? Are there any spaces or new line characters before the prefix?

3. Try to define the following HTTP headers in the JSP:
X-Download-Options: noopen
X-Content-Type-Options: nosniff

Here is some more headers to play with:
http://stackoverflow.com/questions/1242 ... ile-in-ie8

In order to switch the default HTTP headers of PD4ML taglib off, you would need to instal v360fx1b1 and define http="noheader" attribute to <pd4ml:transform>


  Subject: Re: PDF loading crash in IE with Google Toolbar
   PostPosted: 04 Apr 2010, 22:56 
Please try to open the link from your site (http://pd4ml.com/examples.htm) from "4. Web scenario: Using PD4ML custom tags in JSP." --> "Click here to see the resulting PDF. (Tomcat 4.1.30 WinXP) " in IE with Google toolbar installed. This is the scenario.

Thanks.


Last bumped by Anonymous on 04 Apr 2010, 22:56.



[Reply]     [ 5 posts ] 

cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share