Showing pdf in Fire fox giving problem

Hi every body ,
I have a problem related to PDF showing in the browser , It is working fine in the IE , but in the FF it is not showing .
Here is my Backing bean code for fetching the PDF .
The main backing bean name is myBean.
  public void showPDF() throws IOException  
          BufferedInputStream input = null; 
          BufferedOutputStream output = null; 
          InputStream inputStream =null;  
          FacesContext facesContext = FacesContext.getCurrentInstance(); 
          ExternalContext externalContext = facesContext.getExternalContext(); 
          HttpServletResponse response = (HttpServletResponse) externalContext.getResponse(); 
         try  
         //It is a simple POJO , it will return the pdf content 
                 PDF  pdf =  new PDF(); 
             inputStream = pdf.getPDFContent(); 
             input = new BufferedInputStream(inputStream, DEFAULT_BUFFER_SIZE); 
             response.reset(); 
             response.setContentType("application/pdf"); 
             response.setHeader("Content-disposition", "inline; filename=\"" + pdf.getFileName() + "\""); 
             output = new BufferedOutputStream(response.getOutputStream(), DEFAULT_BUFFER_SIZE); 
             byte[] buffer = new byte[DEFAULT_BUFFER_SIZE]; 
             int length; 
             while ((length = input.read(buffer)) > 0)  
                 output.write(buffer, 0, length); 
             output.flush(); 
         }catch(Exception ex) 
             ex.printStackTrace(); 
         finally { 
            output.close();  
            input.close();  
          facesContext.responseComplete(); 
     }  Here is my view JSF
<h:commandLink  value="Show PDF" action="#{myBean.showPDF}" target="_blank" />  Thanks & regards,
S

The problem is
ul.MenuBarHorizontal li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: 7em;
   float: right;
Change the value back to left.
The menu bar will now left align itself. To fix that we will go to the container, give it a width and float it to the right as follows.
ul.MenuBarHorizontal
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: 42em;
    float: right;
Gramps

Similar Messages

  • Download Helper no longer shows up in Fire Fox's Download Screen.

    Firefox just automatically downloaded/updated Download Helper Ver 4.9.13 the other day and something weird happened. It still links and downloads Video's off the web just fine but it doesn't show up in the Firefox Download list. The animated Icon in windows 7 shows the progress of the download but nothing else, so the problem there is I have no idea how fast the download is nor do I see multiple downloads progress.

    You are running Firefox nightly version 21.0 as reported with your question. (Video) Download Helper 4.9.13 is currently compatible with Firefox 3.0 - 20.0a1.
    You need to report that problem to the developer - http://www.downloadhelper.net/support-expert.php

  • (Error code: sec_error_bad_signature) shows up on fire fox and IE when i try to use any google service

    (Error code: sec_error_bad_signature) shows up on both firefox and ie when i try to go on google or youtube. it says exactly:Secure Connection Failed
    An error occurred during a connection to www.google.com. Peer's certificate has an invalid signature. (Error code: sec_error_bad_signature)
    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem. Alternatively, use the command found in the help menu to report this broken site.
    What peer?
    please answer

    Do you get a prompt to create an exception?
    Click the site identity button - More Information - View Certificate https://support.mozilla.org/en-US/kb/how-do-i-tell-if-my-connection-is-secure
    Look for 'Issued By' and post that information or post a screenshot.
    https://support.mozilla.org/en-US/kb/how-do-i-create-screenshot-my-problem
    Note that some anti-virus/firewall software and programs like Sendori, FiddlerRoot, or BrowserProtect can intercept your secure connections and send their own certificate instead of the website's certificate.

  • Spry Menu showing backwards in Fire Fox

    I could use some help.
    This is my first spry menu and it looks fine in IE but the shows backwards in FF.
    Here is a link :http://www.fresnoskiclub.com/FSC-rebilld/html/about.php
    If any of you coding gurus' out  there can steer me in the right direction, it would be appreciated!

    The problem is
    ul.MenuBarHorizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: 7em;
       float: right;
    Change the value back to left.
    The menu bar will now left align itself. To fix that we will go to the container, give it a width and float it to the right as follows.
    ul.MenuBarHorizontal
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
        width: 42em;
        float: right;
    Gramps

  • Fire fox does not open youtube hows that you got to sort it out or go away

    fire fox 4 does not play you tube video , but plays flash player videos on other sites I have seen many comments about it but now it happened to me nothing I do solves it there must be a quick answer it should work out of the box the last versions of fire fox 3 didn't play you tube either that's why I went for fire fox 4 problem not solved tried some points on help nothing works developers you try and see if you have a answer is it a plugin Sp........

    Thank you so much for reaching out and allowing me to help you with this issue.  This is indicative of the type of experience we don't want ANY of our customers to have...a negative one.  I'd like to address your concerns and give you the opportunity to reach us directly if you have any other questions. 
    First, I'd like to address the issue with box return.  We will happily send you return boxes and labels that include free shipping at no cost but for future reference, and what doesn't appear to have been made clear,  you can drop equipment off at any UPS corporate facility and they will ship equipment back to us at no cost to you.  If, however, the equipment is taken to a Verizon store, that is where the restocking fee is assessed.  I apologize that this was not made clear during the calls in to our center.
    As for the issue with the Netflix promo code, those are typically sent after our worry free guarantee ends (14 days) to the email address we have on file for you.  In the event that you opted out of receiving emails or did not provide an address, we send it to your home address via snail mail within 30 days of FiOS installation.
    I am more than happy to look into this for you and find you a definitive answer as to when you should expect to receive your Netflix promo but in order to do so, I will need to access your account privately.  If you would like to go ahead with that, please check your private message box for a chat link to get started. 
    Thank you and happy holidays,
    ~Eva

  • Hi, the fire fox browser shows the letters in separate when i embed the Farsi fonts in a site, while there was not such problem in the previous versions of fire fox browser. thank's

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/867506]]</blockquote>
    Hi,
    the fire fox browser shows the letters in separate when i embed the Farsi fonts in a site, while there was not such problem in the previous versions of fire fox browser.
    good luck

    The same topic exists. Try visit the link below (The problem hasn't been solved yet):
    * [https://support.mozilla.com/en-US/questions/863157 Unconnected Embed Farsi Fonts]
    Please continue it there...

  • I tried to install fire fox many times, but every time it keeps crashing and details show the following problem:

    Every time I try to install fire fox, I get the following error:
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: firefox.exe
    Application Version: 23.0.1.4974
    Application Timestamp: 520bc252
    Fault Module Name: sprote~1.dll
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 51011a0e
    Exception Code: c0000005
    Exception Offset: 00040f2c
    OS Version: 6.1.7600.2.0.0.256.1
    Locale ID: 1033
    Additional Information 1: 636a
    Additional Information 2: 636a83f865e4689bfb8568a9d7acf71c
    Additional Information 3: 75da
    Additional Information 4: 75da472655b3e39fd851d9fd05e8bfb1
    Read our privacy statement online:
    http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
    C:\Windows\system32\en-US\erofflps.txt
    Last time also about 15 days back same thing had happened, I had uninstalled it, asked for help from your end and had got it fixed.
    But doing it every time, especially, when one has to do many things on line, is not possible.
    Pl suggest some long lasting solution.

    By the way, the "faulting module" listed in your crash data is not part of Firefox. According to some other posts, it actually is malware named SProtector that you need to remove. Please see:
    * [http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_programs/i-m-getting-problem-when-running-ie-chrome-or/c5cea290-bee8-43ee-b872-b0d24ae7179b?msgId=05f89c9b-d3bb-4db1-abc9-90f96374842f I m getting problem when running IE, Chrome or firefox - Microsoft Community]
    It may help to use free anti-malware tools such as the following:
    * Malwarebytes Anti-malware : http://www.malwarebytes.org/products/malwarebytes_free
    * AdwCleaner : http://www.bleepingcomputer.com/download/adwcleaner/ ''(ignore banner ads for other products)''

  • I am trying to search the web when I click on Firefox Icon this message shows up Offline Mode Fire Fox is currently in offline mode and can not browse web how do I fix this?

    I am trying to search the web when I click on Firefox Icon this message shows up Offline Mode Fire Fox is currently in offline mode and can not browse web how do I fix this?

    Firefox does not have a built-in "Run" option on downloads for security reasons. If you "Run" an item, your anti-virus/anti-spyware may not have an opportunity to fully examine the contents until it is already installed on your hard drive. Result: damage, if infected, is already installed on your system.
    With that in mind, you can install the following add-on, but you accept the risk mentioned above ('''NOTE:''' the developer has not updated this product -- OR any of his other 7 extensions -- to be compatible beyond Firefox 3.6.x; therefore, when you upgrade to a more current version of Firefox, you may lose the functionality of the add-on if the developer does not update it.):
    *https://addons.mozilla.org/en-US/firefox/addon/opendownload/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]

  • I cannot log onto sites that require my log in and password. I get no error message, fire fox just goes back to the same empty log in screen. this problem is not limited to one site. I reloaded firefox with same results.

    When i type in my log in and password and enter, the site either returns to the blank screens or does nothing. This is not limited to one or two sites. all of my financial institutions, electric company, insurance companies, even trying to register here so that i could ask this questions. In this situation, when i hit the register button, nothing happend, its as iff the button is inactive. i had to go to IE to register and post this question. I just tried to enter my new log in and pw on the screen in fire fox and nothing happens. Some sites behave differently when i hit the submit or log in button. the information seems to be transmitted but the screen comes right back to the original log in screen with blank fields. there are no error instructions that something does not match or is missing. then i go to IE and it works.
    This started a few weeks ago. I cant identify anything that was added around that time but i tried a system restore and that did nothing. i deleted fire fox and downloaded the latest version 3.6.13 and it is still happening

    This issue can be caused by corrupted cookies.
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    *http://kb.mozillazine.org/Cookies

  • PDF in an Iframe causes Fire Fox to crash

    When a page is loaded with a PDF in an Iframe, Fire Fox crashes almost instantly. It appears that this is a known issue?
    In what release is this expected to be fixed?
    Thanks

    Those are problems with the Flash plugin.
    See http://crash-stats.mozilla.com/report/index/e2fdb0a7-0986-4164-9be5-10f852100625
    Do those messages have Flash objects embedded?

  • Fire fox .pdf in the hard basket with the new firefox ? doest work proplery

    the new fire fox / windows 7 ,the pdf fails to work 90% of the time

    hello, the pdf viewer is still somewhat experimental and under very active development - you could try if the same error is occurring in the current development version, which you can download as an addon from http://mozilla.github.io/pdf.js/extensions/firefox/pdf.js.xpi
    in case it has the the same rendering problems, you could then file a bug report at https://github.com/mozilla/pdf.js/issues (a github account is necessary for it though) - please also provide a sample document where the error is apparent!

  • Fire fox can't show google images like I previous seen.

    When I want to watch some pictures from google.com/images the fire fox show the pictures page very long.. and the preview is change from before..
    what should I do to this problem..
    reply me in my mail account..
    Problem snapshot.
    forum link
    [url=http://img834.imageshack.us/i/googlem.jpg/][IMG]http://a.imageshack.us/img834/723/googlem.jpg[/IMG][/url]
    direct link.
    http://a.imageshack.us/img834/723/googlem.jpg

    Create the folder here:
    Then you can move your files to it.

  • When using fire fox I have a problem reading pages from my site. This is a new problem. The format appears to be lost with fire fox but not IE

    I have been using FF for several years and well as front page to maintain and upload to my site. As of two days ago I started getting comments that recently updated pages were not readible. I have not changed any settings but have found out that what can not be read in Fire fox can be read just fine in IE

    Can you post a link to a public page that doesn't require authentication (log in) to access it?
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    See also:
    *https://support.mozilla.org/kb/Websites+look+wrong
    If you use extensions (Tools > Add-ons > Extensions) like <i>Adblock Plus</i> or <i>NoScript</i> or <i>Flash Block</i> that can block content then make sure that such extensions aren't blocking content.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Problems running Flash 11.7.700.224 on Fire Fox 22.0

    Problems running Flash 11.7.700.224 on Windows 8, browser Fire Fox 22.0. Plug-in crashing and/or not responsive messages; browser hanging and/or slow, especially when opening new windows; You Tube videos error messages; Flash not detected on Adobe Troubleshooting page, even though installed; Flash content loads but does not display in window (no frame, or black or white screen in frame). Thank you for any reply, hopefully simple -I'm not technically inclined.

    After using Flash player 11.8.800.94 for one day, it crashed.
    So, I uninstalled it using the uninstaller provided by adobe then
    disabled avast then
    reinstalled 11.8.800.94.
    Attempted to restart, but got this error message:
    The exception unknown software exception (0xe0434352) occurred in the application at location 0x74c02005.
    While writing it down, restart reverted to desktop.
    Successfully restarted and opened FF22.0 browser and
    went here: http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html#main_Find_the_Flash_ Player_version_installed_on_your_machine to check version.
    I could not see the Flash movie, the version checker said that Flash Player is not installed -- even though it shows Shockwave Flash 11.8.800.94 installed on the plugins list on Fire fox add-ons manager.
    Is there a difference between Flash Player 11.8.800.94 and the latest Flash Player plugin for Fire Fox, or are they the same thing?
    I have no idea how to fix this and not finding any clear answers on any of the other discussion question pages on this topic.
    Can anyone from Adobe please help?

  • HI I have a problem with my Firefox, recently my fire fox won't start after I click on its Icon

    HI I have a problem with my Firefox, recently my fire fox won't start after I click on its Icon, when I see the process in task manager Firefox is there but after a second it will end processing automatically, I have tried ff7 and ff6 and have the same problem, even re installing the Firefox doesn't fix the problem, any one know the reason? I'm using a win7 64bit, and bitdefender internet security

    Hi All,
    This is not a virus . I used this website & I found it very useful & you can remove it through the following steps.ar.hao123.com 1- Then right-clicking on the icon Mozilla Firefox on the desktop, then choose "Properties", as shown in the picture: 2- Select Tab "shortcut", and then delete the text after. Exe in "target" as shown in the following picture, then press "Ok" 3- Open Firefox, and then choose "options" from the list of "tools" 4- Select the tab "general", and in the list "when Firefox starts" then select "show my homepage" and in the box "homepage" then enter any other link and then press "OK"
    you can visit [http://ar.hao123.com/report/ar-feedback.html Hao123] hao123
    ar.hao123.com

Maybe you are looking for

  • Text variabel for Formula

    Hi, I have a requirement where i have created a formula and i wnat for each and every period beside the formaula i need a period number in the Filed Tile Eg: Sales 007.2009 Sales is formla created and i need 007.2009 to be displayed beside this// Any

  • Siri not identifying songs correctly in iOS 8.3

    Siri no longer identifies the song I am listening to that is playing FROM my iPhone.  It listens to hear a song that it can potentially identify (with Shazam) being played out loud in the surrounding environment, hears none, then tells me it can't re

  • How to see FTP server Directory in OBIEE 11g

    Hello All, I am want to create data File(extract) and put that file on FP server, and call that file into OBIEE so whenever user login he can access that file. Can yuo please tell me how I can achive this /

  • Detremine any user is logged in.

    I know this has been asked before but none of the threads I have found give an answer to this or at least a good answer. Is there any way that I can determine if there is a user logged into a workstation, not the Primary user or logged onto primary w

  • Setting parameters on search screen

    Hello friends, We have implemented a SAP note to provide the Z attributes on the product search screen. Now when these attributes were created some of the attributes had the value range. let say attribute A has low value 10 and high value 15 . Now th