Jump to content
xisto Community

rasheed_rgda@hotmail.com

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by rasheed_rgda@hotmail.com


  1. Hi all,
    I am using Iframe in the jsp page to display the local file in the file system
    I am using following tag to display the file in the jsp page.

    <iframe  src=file:///c:/modify.html width="40" height="80">


    It displays modify.html file properly in the IE browser , but its not showing in the Firefox browser.

    In Firefox , the following error is getting displayed .

    Security Error: Content at LOCALHOST:8080/Struts2Example6/ may not load or link to file:///C:modify.htm.

    After googling, I found that I need add one users.js file in the following location
    C:\Documents ndSettings\Rasheed\ApplicationData\Mozilla\Firefox\Profiles\9wapkhj3.default
    The content of users.js is as follows:
    user_pref("capability.policy.localfilelinks.checkloaduri.enabled",  "allAccess");user_pref("capability.policy.localfilelinks.sites","http://localhost:8080/Struts2Example6")  user_pref("capability.policy.policynames",  "localfilelinks");
    Even then, its not showing the it in the Firefox browser.

    Please help me to fix this.
    Thanks
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.