Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #26352

    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?

    #27916

    1. Do you use IE8?
    2. Do you load the PDF by HTTP or HTTPS?

    #27917

    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 (inline=”false” …>), but i don’t know if my client will be pleased with this.

    #27918

    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/1242900/problems-with-header-when-displaying-a-pdf-file-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

    #27919

    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.

Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘Troubleshooting’ is closed to new topics and replies.