לאתר זה תהיה פונקציונליות מוגבלת בזמן שאנו מתחזקים אותו לשיפור החוויה שלך. אם מאמר מסויים לא פותר את הבעיה שלך וברצונך לשאול שאלה, קהילת התמיכה שלנו מחכה לעזור לך ב־Twitter תחת ‎@FirefoxSupport וב־Reddit תחת ‎/r/firefox.

חיפוש בתמיכה

יש להימנע מהונאות תמיכה. לעולם לא נבקש ממך להתקשר או לשלוח הודעת טקסט למספר טלפון או לשתף מידע אישי. נא לדווח על כל פעילות חשודה באמצעות באפשרות ״דיווח על שימוש לרעה״.

מידע נוסף

Pdf is not opening with Reader Version 11.0.13. With earlier versions, it is fine.

  • 1 תגובה
  • 1 has this problem
  • 1 view
  • תגובה אחרונה מאת guigs

more options

I am using Some java code to convert my Server Data to PDF but it is not opening in Adobe latest version 11.0.13. For all other earlier version it is fine.

Below is code :-

<% //read the file name.

String pdfFileName = "Ereceipt.pdf";

byte[] outputBytes =(byte[])session.getAttribute("PDF_BYTES");

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

//set the content type(can be excel/word/powerpoint etc..) response.setContentType ("application/pdf"); //set the header and also the Name by which user will be prompted to save response.setHeader("Content-Disposition", "attachment;filename="+ pdfFileName);

ServletOutputStream outs;

if (outputBytes != null) { System.out.println("I AM IN IFFFF...");

   response.setContentLength(outputBytes.length);
   outs = response.getOutputStream();
   outs.write(outputBytes);
   outs.flush();
   outs.close();

System.out.println("DONE...."); }

%>

I am using Some java code to convert my Server Data to PDF but it is not opening in Adobe latest version 11.0.13. For all other earlier version it is fine. Below is code :- <% //read the file name. String pdfFileName = "Ereceipt.pdf"; byte[] outputBytes =(byte[])session.getAttribute("PDF_BYTES"); response.setDateHeader("Expires",0); response.setHeader("Cache-Control","must-revalidate, post-check=0, pre-check=0"); response.setHeader("Pragma", "public"); //set the content type(can be excel/word/powerpoint etc..) response.setContentType ("application/pdf"); //set the header and also the Name by which user will be prompted to save response.setHeader("Content-Disposition", "attachment;filename="+ pdfFileName); ServletOutputStream outs; if (outputBytes != null) { System.out.println("I AM IN IFFFF..."); response.setContentLength(outputBytes.length); outs = response.getOutputStream(); outs.write(outputBytes); outs.flush(); outs.close(); System.out.println("DONE...."); } %>

כל התגובות (1)

more options

There are a few places to troubleshoot in Firefox for this:

  1. Check the defaults in the Firefox Application settings: Manage file types and download actions in Firefox
  2. Use Adobe Reader to view PDF files in Firefox -> that would change the default I believe for what it opens as
  3. There might be a question of pdf type in the header -> last I checked:

application/pdf application/vnd.adobe.pdfxml application/vnd.adobe.x-mars application/vnd.fdf application/vnd.adobe.xfdf application/vnd.adobe.xdp+xml application/vnd.adobe.xfd+xml