Opening PDF Output in browser

Hi ,
When I send a request to Report Server via WEB DB listener for PDF output report, it is generating 2 requests while opening the PDF output in the browser. If you make PDF browser integration off, it opens in Acrobat Reader properly with single request only. Has anybody come across such problem? Your help in this regards is appreciated. Thnaks in advance
Aniruddha.

To clarify what you posted:
When opening the PDF document, your browser closes. When pressing the control key and opening the document, you get a dialog window (with the choices of open or save). What happens when you select open?
This is browser behavior, nothing to do with this being a PDF file. Which browser and which platform? If you are using IE7, popup blocker is automatically enabled, and if you are viewing this on a 2003 server, you have server security settings to override. Pressing the control key allows popups.

Similar Messages

  • Open PDF-Output in browser window with full height

    Hi,
    I must open some BIP-Reports as PDF in a browser window via URL. The problem ist, that the height of the PDF-Output is fixed, as the PDF is shown in an iframe with fixed height.
    The height can be set in the BIP preferences, but only to a fixed value (not to something like "100%"). If the height is smaller than the users browser window, then there is unused space below the pdf output. If the height is greater than the users browser window, there are two scrollbars to the right: One for the html-Page and one for the PDF.
    I tried the following options:
    1. http://<bip-server:port>/xmlpserver/public/<report-name>.xdo?_xmode=4&_xf=pdf
    -> Output is PDF, only the PDF is shown (_xmode=4), opens in same browser window but height is limited.
    2. http://<bip-server:port>/xmlpserver/public/<report-name>.xdo?_xmode=4&_xf=pdf&_xpt=1
    -> PDF is not opend in browser window, but can be downloaded or opened in a separate PDF-Viewers window.
    I would like to just open the PDF in the browser window in full height. How can I achive this?

    Hello Yesh,
    you can open PDFs as a guest user (without authentification):
    1. Allow Guest Access (Admin -> Security Configuration -> Check "Allow Guest Access" and select a folder name).
    2. Copy your Report into this guest folder
    3. You can open the Report as PDF with a link like this:
    http://(bip-server-name):9704/xmlpserver/(guest-folder-name)/(report-name)/(report-name).xdo?_xpt=0&_xf=pdf&_xmode=4(&report-parameters)
    Just replace the strings in brackets. You find a great description of the URL parameters in Tim Dexters Blog
    http://blogs.oracle.com/xmlpublisher/2006/07/accessing_xmlp_enterprise_repo.html
    I didn't find an option to set the height of the PDF-Output for the guest user in the BIP-UI. Maybe I missed something. But you can manually edit the configuration file. It is located on your BIP server direcory in the subdirectory xmlp/XMLP/Users. Select the guest users subdirectory and edit the configuration file "user~.profile".
    In this XML config file there is an entry "viewerHeight". In the Value-Tag you can enter the PDF output windows height in pixel (but unfortunaly not in % - this was the question of my original posting).
    Hope that helps...
    Sascha
    Edited by: sascha@tesat on Oct 26, 2009 9:02 AM

  • Browser closing when opening PDF output in Apps

    Hello,
    When opening the concurrent request/report output (for PDF output), the browser just closes.
    The PDF output were generated thru XML Publisher (reports converted in XML Publisher - rtf).
    PDF is defined in the Viewer Options/ System Options(Viewer). I could open PDF output by
    pressing CTRL key while clicking on the output request Output button. It will give prompt on
    whether to Open or Save the PDF.
    Not sure if it's really related to XML Publisher, maybe more on concurrent request, but idea
    will be very much appreciated.
    Thanks,
    Rownald

    To clarify what you posted:
    When opening the PDF document, your browser closes. When pressing the control key and opening the document, you get a dialog window (with the choices of open or save). What happens when you select open?
    This is browser behavior, nothing to do with this being a PDF file. Which browser and which platform? If you are using IE7, popup blocker is automatically enabled, and if you are viewing this on a 2003 server, you have server security settings to override. Pressing the control key allows popups.

  • I have Adobe Reader in stalled on my MacBook Pro but the plugin is not showing in FireFox so I am unable to open pdf's in browser. How can I correct?

    When I encounter a site that requires me to fill in a pdf form the browser opens in Adobe Reader and not in the browser. I have checked off in Adobe Reader to open pdf's in browser but it still will not.

    I do not think adobe reader works as a plugin for Firefox on Macs, ( but a PC user myself so I can not check). See [[Installing and updating Adobe Reader]]
    Note specifically comments in the Mac version of that [/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox?s=pdf+plugin+mac&as=s#os=mac&browser=fx35] about alternative plugins.

  • Unable to open PDF file in browser using Reader 9 with IE8

    I just updated to IE8 and when trying to open a PDF file on the browser, I received a message stating to use Adobe Reader 8 or 9.  I downloaded AR9 and still receive the same message and cannot open PDF files in browser window.  It defaults to my Adobe Acrobat 6.0 which will not open the file.  I have Windows XP.  I do not have a problem opening a PDF file in Yahoo mail with AR9.  I have tried many different ideas on the web to no avail.  Appreciate any help to be able to default to open PDF files in the browser using AR9 which is apparently required by IE8.

    Fixed problem by taking to a computer store to find that my hard drive storage was maxed out.  I had the hard drive repaced with a larger amount of storage.   Problem resulted from inadequate amount of storage space which prevented me from downloading and installing Adobe Reader 9.
    Thanks to al that responded.  

  • Macbook Air wont's open PDF in Safari browser Version 7.1 (9537.85.10.17.1)

    Hi Guys, can anyone help me out here i bought a new 2014 Macbook Air with a maverick's OS X Version 10.9.5 and it wont's open PDF in Safari browser Version 7.1 (9537.85.10.17.1). I have a adobe reader Version IX 11.0.09
    this is the message i get when i open up a pdf on safari
    To view the full contents of this document, you need a later version of the PDF viewer. You can upgrade to the latest version of Adobe Reader from www.adobe.com/products/acrobat/readstep2.html
    For further support, go to www.adobe.com/support/products/acrreader.html

    i did this is what it says;
    To view the full contents of this document, you need a later version of the PDF viewer. You can upgrade to the latest version of Adobe Reader from www.adobe.com/products/acrobat/readstep2.html
    For further support, go to www.adobe.com/support/products/acrreader.html
    and when i go to my library under internet plug-Ins there's nothing in the file.

  • How to Open PDF in the browser...JSF

    String strUrl = http://..../xxxxxe43cb072378947fe8c1b7bcc7201691a.pdf
    FacesContext faces = FacesContext.getCurrentInstance();
    ExternalContext context = faces.getExternalContext();
    HttpServletResponse response = (HttpServletResponse)context.getResponse();
    response.sendRedirect(strURl);          Hello,
    I have to open PDF in the browser, I am trying to redirect using the above code, but it is throwing exception as below. Could some one help me in this issue?
    Thanks In advance
    Error Message:
    java.lang.IllegalStateException: Cannot forward after response has been committed
    Error details:
    java.lang.IllegalStateException: Cannot forward after response has been committed
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:313)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at com.esri.adf.web.faces.application.ADFViewHandler.renderView(Unknown Source)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at com.esri.adf.web.util.ADFSessionTimeoutFilter.doFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)

    You cannot send two responses per request. The solution is to let the client create two requests. Common approach is to add an onclick to the commandbutton/commandlink which opens the PDF in a new browser window and let the actual command action invoke a redirect on the current browser window.
    E.g.<h:commandLink value="Download PDF" action="#{myBean.action}" onclick="window.open('http://..../xxxxxe43cb072378947fe8c1b7bcc7201691a.pdf');" />where the #{myBean.action} invokes a redirect and the http://..../xxxxxe43cb072378947fe8c1b7bcc7201691a.pdf opens the PDF in the new window.
    Edit
    I've read your question/problem once more and now I am a bit confused. All you want to do is to open the PDF file in a new window and you don't need to do something in the backing bean? Just use a link with target="_blank".
    <h:outputLink value="http://..../xxxxxe43cb072378947fe8c1b7bcc7201691a.pdf" target="_blank">Download PDF</h:outputLink>No need for a redirect here.
    Edited by: BalusC on Nov 21, 2007 7:21 AM

  • Open PDF in same browser when the preference is set to open in new window.

    The corporate policy for all applications is to open the PDF document in new browser/reader but our application needs the reader to open in the same browser even the preference "Display PDF in Browser" is unchecked.... The setPreference from javascript (html) doesn't seemed to work... How do i make this work?
    Also, I need the links the browser to open in new browser once the PDF is loaded... do I need to reset the preference once it is loaded for the links to open in new browser?
    thanks,
    - Ray

    There is no way to override that from your application.   And if the Links in the PDF have an explicit "open in new window" setting, that is respected over the preference.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Wed, 19 Oct 2011 22:02:53 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Open PDF in same browser when the preference is set to open in new window.
    Open PDF in same browser when the preference is set to open in new window.
    created by h_ray<http://forums.adobe.com/people/h_ray> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3981167#3981167

  • Cant open pdf files in browser

    Cannot open pdf files in browser but can open from hard drive. Using Adobe 11.0.02 with Windows 8. Have uninstalled Reader and reinstalled and then restarted PC; Checked for updates; used the Repair selection on the menu. Frustrated. Suggestions?

    Hi adityabhargava01-
    My first suggestion is to upgrade to the most recent version of Firefox by going to this link:
    http://www.mozilla.org/en-US/firefox/new/
    My second suggestion is to read this article on how to many your preferences on how Firefox deals with PDFs and all other file types:
    [[Options window - Applications panel]]
    I hope that helps!

  • Opening PDF in Web Browser(IE)

    Hi,
    I have written a program to download PDF file. When user will click on "Download" link, PDF file should open in web browser IE itself. Currently file is opening in separate window. I am creating this PDF file run time and it is not stored in harddisk. In Acrobar Reader, I have checked the check box "Display PDF in browser". Despite this it is opening in separate window.
    I have written following code:
    byte abyte0[] = pdfGenerator.generatePDF(getXslFile(instancedata), new String(instancedata.requestResult.message, "UTF-8"));
    httpservletresponse.setHeader("Cache-Control", "no-cache");
    httpservletresponse.setHeader("Cache-Control", "max-age=0");
    httpservletresponse.setHeader("Content-Disposition", "inline; filename=" + instancedata.userId + "_" + System.currentTimeMillis() + ".pdf");
    httpservletresponse.setContentType("application/pdf");
    String s = new String(abyte0, "UTF-8");
    servletoutputstream = httpservletresponse.getOutputStream();
    servletoutputstream.write(abyte0, 0, abyte0.length);
    servletoutputstream.flush();
    Kindly suggest what is required to open PDF in Web browser (IE).
    Regards,
    Dev

    I don't see anything wrong here offhand.
    In your download link, you aren't using target="new" or anything, are you?

  • Open pdf in mobile browser (share point 2013)

    hello,
    I need to Open pdf  in mobile  browser (share point 2013).i tried browser handling type in  permissive mode.
    but i couldn't view the pdf when i access through mobile browser.
    is there any work around to do this .?
    any help would be appreciated.
    Thanks regards, Vignesh.

    Per the earlier thread, your best bet is to use Office Web Apps in conjunction with SharePoint 2013 to display PDFs. Otherwise a browser needs a control (which most if not all mobile browsers will not have) to handle viewing PDFs in the browser.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to open pdf files in browser using flex

    hi,
    my project is having a Document explorer wchich contains pdf
    files,iwant to open it in the browser.can any one tell me how to
    open pdf documents using flex programming(i tried with different
    thing like swf's but my client wants only pdf formatt).

    Another option is by calling a JSP page. This example will
    open a pdf file into a new browser without displaying the download
    "save" prompt.
    Function to call the JSP:
    private function downloadFlyer(event:Event):void {
    var jspLink:URLRequest = new
    URLRequest("jsp/downloadpdf.jsp?fileName=Fundraiser_flyer_2008.pdf");
    navigateToURL( jspLink, "_blank" );
    JSP code:
    <%@ page errorPage="error.jsp" %>
    <%@ page import="java.io.*" %>
    <%
    //Get the parameters
    String downloadFileName=request.getParameter("fileName");
    String fileName = application.getRealPath("/downloads/" +
    downloadFileName);
    File file = new File(fileName);
    if (!file.exists()) {
    throw new IOException("File does not exist.");
    // Get the size of the file
    long length = file.length();
    // You cannot create an array using a long type.
    // It needs to be an int type.
    // Before converting to an int type, check
    // to ensure that file is not larger than Integer.MAX_VALUE.
    if (length > Integer.MAX_VALUE) {
    throw new IOException("File too big.");
    response.reset();
    response.resetBuffer();
    response.setContentType( "application/pdf" );
    response.setHeader ("Content-Disposition", "filename=" +
    downloadFileName);
    //Prevent the Java error: "getOutputStream() has already
    been called for this response"
    out.clear();
    out = pageContext.pushBody();
    InputStream in = new FileInputStream(file);
    OutputStream output = response.getOutputStream();
    try {
    int curByte=-1;
    while( (curByte=in.read()) !=-1){
    output.write(curByte);
    } catch (IOException ioe) {
    ioe.printStackTrace(System.out);
    } finally{
    output.flush();
    in.close();
    response.flushBuffer();
    %>

  • Add button to open PDF in new browser window CS3

    I'm trying to add a button that says "Go" that will open a PDF in a new browser window.
    I've looked at the following article but don't see the "Select Action" pull-down.
    http://www.acrobatusers.com/blogs/tedpadova/opening-pdfs-new-browser-windows
    Using Dreamweaver CS3.
    Thanks in advance.

    Hi,
    I hope I understood your question correctly, if so my suggestion may be helpful. Otherwise I think it's nearly the same what paul writes, I only made clear my proposal in a website for you, first a photo:
    and here is the link: http://www.goldschmiede-blumberg.de/pdf/adob_pdf.php.
    Note 1: "Ausgabe 9" und "ein Mausklick hier genügt" are links!!
    Note 2: " Um pdf-Dateien ...." Means: To read pdf files, you need the free Adobe Reader. The current version you can download from the Adobe website.
    Look at it's source code.
    Viel Erfolg
    Hans-G.

  • Cannot open PDF outside of browser without "save as" dialog.

    Hello,
    We currently upgraded from Acrobat 8 Standard to Acrobat 10.1.6. On our old version of Acrobat, when we unchecked the option under Preferences - Internet - Display the PDF in Browser, it would open files in an new Acrobat window.
    With X installed, we don't seem to have that as an option anymore. Things go either one of two ways:
    Display in Browser box checked = PDF displays in browser (IE9)
    Display in Browser box unchecked = Save as dialog appears when clicking link in browser
    There doesn't seem to be the option available that we had before, where it would just open the file in a new Acrobat window.
    Are there any settings that would help get this back to my user's expected behavior?
    Thanks in advance,
    John

    Hi,
    Browsers were changing so rapidly (every few months) that it was impossible to keep that setting working across all browsers. The setting is gone as is its registry preference.
    There is a cmd line property which works. See the Admin Guide: www.adobe.com/go/acrobatetk.
    hth,
    Ben

  • Unable To Open PDF File In Browser

         I am unable to open a PDF file within my browser using Adobe Reader.  Whenever I attempt to open a PDF file, I get the following message:
    The Adobe Acrobat/Reader selected for viewing PDF documents in browsers cannot be found at its installed location, it may have been moved or deleted.
    Please reinstall or repair the application (15:524)
         I have ensured that Adobe Reader is set as my default program for opening PDF files, and have downloaded and installed the latest version of Adobe Reader.  I am running Windows 8 and Internet Explorer 10.
         I have attempted to contact Adobe Reader Support and was informed that the expected wait time was 3-5 minutes.  I have been holding for over an hour without any support.

    How about if you right click on the PDF and select Save Link As..., and then open it locally from within Reader? Does it work ok then?  That might be a workaround until the issue within the browser is resolved.
    Rob Jaworski
    Intl Program Manager

Maybe you are looking for

  • Is it possible to link data across different/multiple PWA sites leveraging Master Project with the Subprojects feature?

    A couple different questions /similar scenarios 1) Is it possible with Project Server 2010 to have several sites (http://server/pwa1 and http://server/pwa2 for example) communicate and build a Master Project at a third (or X) site (http://server/pwa3

  • Windows 7 toolbox on system with only 2 partitions

    I installed Win 7 with a clean install and new hardrive on my T500. So I have only 2 partitions, C and D (system and data). Anyone know if toolbox will install without wanting the hidden lenovo partitions? I don't want to install it if it does as I l

  • My 7th generation iPod nano will not turn on or be recognized by my computer.

    I have plugged it into my computer. Nothing. Blank. Computer says it can't read the USB. I update the version of iTunes. Nothing. Blank. I hold the power button. Guess what? Nothing. Blank. I've only had this iPod for a couple weeks, and I have not h

  • Cannot go to 192.168.1.1

    Hi, I had just spent $180 dollars in wireless devices after my WRT54G finally died on me after a few years. I bought the WRT160N (Version 2) and a USB wireless N adapter for my other PC. Now the internet works on both of them, but I cannot go to 192.

  • Bridge Mode Status Light Off

    I have a brand new Aiport Extreme that I've setup for the office. It was happy as a clam while taking it's upstream connection straight from a staticly configured gateway. However, when it was moved behind a router and switched to bridge mode, it see