How to open pdf files in FireFox through jsp page?

hi all,
i have a problem when i click the link in jsp page. whenever i am clicking the jsp page link it wants to open a pdf file, the pdf file is located in remote system. its working properly in Internet Explorer. but i am opning this in FireFox means its not opening. In firefox url that is not showing the exact path. optionally its showing like that:
http://172.16.2.21:9090/FMS/source/
journal/%5C%5C172.16.2.1%5C
copyediting%5CELS%5C
Manuscript_Screening%5CMS%5C
RDTEST%5C02-Process%5C
RDTEST-D-08-02051.fdf
and my jsp code whichever working fine in Internet Explorer is :
<%
String newpath="\\\\172.16.2.1\\copyediting
\\ELS
\\Manuscript_Screening\\MS\\RDTEST\\
02-Process\\RDTEST-D-08-02051.fdf";
%>
<a href="<%=newpath%>" target="dynamic"></a>can any one solve my problem. as soon as possible. thanks in advance.

hi Edmondo ,
This is html generated jsp compilation code.
link1
can u please give me the solution. thanks in advance......

Similar Messages

  • How to open *.pdf files in BOXI r2 inbox

    I am scheduling as  *.pdf file for deski report.After scheduling i am getting *.pdf in my inbox.if the report is deski or webi we can use FC_REPORT_ENGINE or WI_REPORT_ENGINE to open the report's using java code.In same way how to open *.PDF file in Inbox?
    Edited by: ramkishore kishore on Nov 7, 2008 8:31 AM
    Edited by: ramkishore kishore on Nov 7, 2008 8:31 AM

    Hi Ram,
    Following information might help you to resolve the issue.
    After logging into Desktop Intelligence, you may be presented with a message stating:
    u201CYou have received 1 document from users"
    Examining the Inbox from within the Desktop Intelligence client shows no objects visible in your Inbox.
    The object in your Inbox is in a format other than Desktop Intelligence format such as, PDF, XLS or other format. Therefore the object is not recognized by the Desktop Intelligence client inbox browser.
    Log in to Info View or the Central Management Console, browse to your Inbox and verify the file name and format that has been sent to your Inbox. The object may be saved, copied, moved or deleted as necessary.
    Regards,
    Sarbhjeet Kaur

  • Can't open pdf files with firefox

    After searching for a certain topic on Google I've tried to open the link with a pdf file, but nothing happens.
    I receive an error message as if the Proxy that we use here at the company was refusing the connection, but in fact, I've already configured it correctly. This error started after the last update to Firefox 33.0.2.
    I've already tried to change the configurations at Options > Applications > Portable Document Format with the option use Adobe Reader (default) and use Adobe Acrobat (in Firefox), and also installed an Plugin "PDF Viewer", but nothing solved the problem.
    Does anyone has the same problem?
    Thanks

    ■ Use '''Tools -> Options -> Applications ->''' <br> then look under content for Adobe Acrobat forms etc;
    <br> note a choice of options is usually available
    * see [[Options window - Applications panel]]
    Firefox is of course a web browser. <br>Acrobat reader is Adobe's program used to read and display the pfd files on your computer. Other programs may be used instead of Acrobat reader. You would normally have the Acrobat program and the pdf file present on the local computer, often both on the same hard drive, if you were opening individual pdf files directly with Acrobat.
    Firefox uses a plugin so that it may use Acrobat to open pdf files and display the results within a firefox window or tab. If you do not have that plugin installed, or it is not enabled firefox may be unsure what to do with the file and offer to save it to whatever your default local download location is, without attempting to open the file in firefox.
    ■Also see
    * [[Opening pdf files within firefox ]]
    *[[Using the Adobe Reader plugin with Firefox]]

  • Why can't I open PDF files in Firefox?

    I cannot get PDF files to open for viewing in Firefox. I am on Mac OS platform. This seems to be such an ongoing issue. I have followed the troubleshooting procedures to no avail. I like the look of Firefox better than Chrome, but I am switching over to Chrome because PDF's are so much easier to handle on Chrome, and I am sick of wasting time with this. Any last minute tips or advice?

    The Adobe Reader plugin may not be working properly on Mac.
    * https://support.mozilla.org/kb/pdf-files-are-blank-and-cant-be-downloaded-mac
    * https://support.mozilla.org/kb/Opening+PDF+files+within+Firefox
    Disable the Adobe Reader plugin in Firefox (Tools > Add-ons > Plugins) and use the external Adobe Reader application or Preview application instead.
    PDF files may be found under entries like Portable document or Adobe PDF document or Adobe Acrobat Document.
    *Firefox > Preferences > Applications > Adobe PDF document : Use Adobe Reader

  • Help with opening PDF files in Firefox

    I can't open pdf files on Firefox, however, I can open them on Safari.  What can I do to get Firefox to open my pdf files?

    ucmary wrote:
    I can't open pdf files on Firefox, however, I can open them on Safari.  What can I do to get Firefox to open my pdf files?
    You need a PDF add-on for Firefox.
    Right now most work with FF 3.6 but haven't been updated yet for FF 4.0 just released
    There is one that works with Google Docs
    https://addons.mozilla.org/en-US/firefox/addon/google-docs-viewer-pdf-doc-doc/
    Funny, there is a version of Flash for Linux with 1% market share, but no PDF plug-in for the most second used browser in the world.

  • Cannot open pdf files in Firefox.

    I cannot open pdf files in Firefox. (I can in Chrome).
    I tried Menu - Preferences - PDF - Use Adobe Acrobat Professional. Also tried the same with PDF Browser Plugin 2.4.4
    Clicking on a PDF link just opens a blank page.

    When I enter about:preferences#applications <Enter> in the address bar, then for PDF it shows:
    pdf File (application/x-download) ... Use Adobe Acrobat Professional
    pdf File (application/x-pdf) .... Use Adobe Acrobat Professional
    Portable Document Format (PDF) ... Save File'''
    I would like all PDF's to open in Adobe Acrobat 8 Professional.
    Right now none of the PDF's open at all, so opening in Firefox or any other viewer would be preferred over not showing up at all.

  • Cant open PDF Files; have already followed help page; doesnt fix; box says I have Adobe 5??

    Cant open PDF Files; have already followed help page; doesnt fix; when I try in Internet Explorer, the problem box says I have Adobe 5

    Hi,
    Try this hotfix and check after rebooting the machine:
    http://kb2.adobe.com/cps/930/cpsid_93026.html

  • I have an iMac and cannot open PDF files in Firefox now. How do I fix this please?

    I have an iMac and cannot open PDF files while working in my university site in Firefox now. How do I fix this please?

    I have a similar problem - not mac related and sometimes I find if I download the pdf file I can open it then.

  • How can I open PDF files in Firefox? Nothing works no matter what I try. Other browsers open them fine.

    When trying to open PDF file, screen just stays white and no content is seen. Status says "Done". PDF files will open with no problem in internet explorer, safari, and chrome. Nothing in Firefox which is my preferred browser.

    I have heard that trying to use Leopard with AppleWorks can cause a corruption of the hard drive. Is this true?
    No, not at all. AppleWorks actually runs better in Leopard on both my PPC & Intel Macs than it did in Tiger. I have found AppleWorks to be faster & more stable in Leopard on an Intel than any other system I've used.
    I repaired permissions (both before and after installing Leopard) and have also dumped AppleWorks preference file, then restarting all to no avail.
    There are more than one AppleWorks preferences to delete. Only deleting the .plist or just the files in the AppleWorks folder in Preferences will not work. They must all be deleted at the same time. Take a look at this user tip, AppleWorks has stopped working correctly.
    Deleting the preferences often fixes printing problems. Also, make sure you have the newest driver for your printer from the manufacturer's web site.
    I did install Leopard as an update rather than wiping my HD and doing a new install. Should I delete AppleWorks and all associated files and reinstall AppleWorks and reinstall Leopard from scratch?
    Possibly. I chose to do erase & install with migrating users & data for all of my Macs. I did try the upgrade with the MacBook Pro & it was a disaster with failure to start up after installing Leopard. I was willing to take the chance because everything on my MacBook Pro is on my desktop Mac.

  • Why can't I open pdf files in firefox anymore?

    When opening pdf files it will only go in a loop and won't stop making new tabs.
    The only way to stop this is by clicking on the home button several times or close firefox

    It depends. When a server says that a file is of the application/pdf content type, it should load in the built-in PDF viewer, or in the Adobe plugin. However, if the server says it is a different content type, even if it has a .pdf extension, directing Firefox to open it can lead to an infinite loop of more and more tabs or windows opening.
    The typical strong medicine for this is to rename the settings file that associates the problem content type with Firefox. This also will delete any past associations created for different content types and revert to the default.
    Open your current Firefox settings (AKA Firefox profile) folder using either
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * Help menu > Troubleshooting Information
    In the first table on the page, click the "Show Folder" button
    Leaving that window open, switch back to Firefox and Exit, either:
    * "3-bar" menu button > "power" button
    * File menu > Exit
    Pause while Firefox finishes its cleanup, then rename '''mimeTypes.rdf''' to something like mimeTypes.old
    Start Firefox back up again and you should get the standard behavior. This time, if Firefox doesn't know how to handle a PDF, please do not redirect it to open in Firefox. (If Firefox knows how to handle it, it won't pop the question in the first place.)
    If I've misunderstood what happened, could you give a link to the problem download?
    ''Removed stray text from copy/paste error.''

  • Cannot open pdf file with Firefox 11.0

    Firefox automatically upgrades the version I am using. Since it was recently upgraded I cannot open pdf files. Am faced with a blank page. I went through some of the suggestions on these pages and when I opened the Tools window, there is a warning:
    Firefox PDF Plugin for Mac OS X is incompatible with Firefox 11!
    Is there a way around it? Or is it time to say goodbye to Firefox and move to Safari?

    When Firefox updates, it turns
    off add-ons that are not
    compatible with the new
    version. In addition, add-ons
    that may have been
    automatically installed by other
    programs without your
    knowledge (third party add-
    ons) have been disabled. For
    more info about re-enabling
    add-ons, see the link below.
    http://support.mozilla.org/en-US/kb/Add-ons%20are%20disabled%20after%20updating%20Firefox#os=android&browser=m10

  • How to open PDF files in Safari

    How does one open PDF files when using Safari

    Typically, you click on a link to a pdf file, and they open. If for some reason that's not working, you can right click on the link and download the file, then it should open in Preview, or Adobe Reader if you've installed that.
    What exactly are you trying to open, and what's happening when you try it?

  • 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();
    %>

  • Cannot open pdf files with Firefox's built-in pdf viewer

    This just started (I think) with Firefox 37.01. This is on Win7-X64. I cannot open pdf files with the Firefox built-in pdf viewer. If I click on the file or try to open it from within Firefox, it brings up a "opening filename.pdf" message. If I select the "Open with" radio button as 'Firefox (default),' it just keeps looping on this process; it never opens. In Tools => Options => Applications, Portable Document Format (PDF) is indicated as 'Preview in Firefox.' I've never had any other PDF viewer installed on this computer. I've tried disabling all plug-ins and extensions, but it still doesn't work. I searched for solutions but haven't found any for this specific issue.
    Thanks for the help.

    Hello,
    Have you tried, to start Firefox in safemode you can do so by following these steps
    '''If Firefox is open,''' you can restart in Firefox Safe Mode from the Help menu:
    * Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    '''If Firefox is not running,''' you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".
    ;[[Image:SafeMode-Fx35]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • [Solved] Way to prevent acroread from opening pdf files in firefox?

    Hi,
    I recently installed acroread from aur and now everytime when I click on a link to a pdf-file in firefox, the acroread plugin opens the file in the browser.
    Before I installed acroread I got a dialog, where I could choose what to do with the pdf-file.
    Under Preferences->Applications I selected "Always ask" for the application type "pdf" but obviously this option is not considered.
    Thanks for any ideas.
    Last edited by otti (2008-11-04 18:57:56)

    Try disabling Adobe Reader plugin in Firefox.  Edit>Pref>Manage Add-ons>Plugins.
    Last edited by jo3 (2008-11-04 17:07:35)

Maybe you are looking for

  • Adobe Photoshop CS5.1 Keyboard Shortcuts Help

    Hey! Not sure if I am posting this in the right location, but anyway...           I use a Wacom Cintiq with my Photoshop Cs5.1 package and have had some troubles when it comes to a particular keyboard shortcut.      The scroll wheel on the Cintiq whe

  • Is there a maximum size for and EAR file?

    I'm using Jdeveloper 10.1.3.3.0. I've used it to deploy to OAS before with success. This past week I added a ton of content to the site. Now when I deploy the ear file is over 1GB. It used to be 120MB. During the deploy process the log shows "Deploym

  • Dynamic column names in Oracle

    HI SOS!! calling for help... i am trying to query the following. I want to remove the duplicates in the ID, and combine them into one... While doing so, I want to keep the data as it is by creating dynamic columns reason_1, reason_2, reason_3 with th

  • Adobe Premiere Pro CC - Plantage constant : "a cesser de fonctionner ..."

    Bonjour à tous, J'essaye de tester Premiere pro CC, mais franchement je n'y arrive pas. Après quelques minutes de manipulations à peine, de façon totalement variable, le logiciel ce bloque et Windows m'indique :      "Adobe Premiere Pro à cesser de f

  • Received an invalid security certificate warning from a new site launched on Business Catalyst

    Just launched a new site on Business Catalyst.  When checking online for the first time I received the following warning in my browser " uses an invalid security certificate. The certificate is only valid for the following names: *.worldsecuresystems