Signed applet to open local file problem with IE6 / Firefox

Hello
I have a signed applet to open a local file, with this code :
try{
   URL destination=null;
   File f=new File(adresse);
   destination=f.toURL();
   AppletContext ac=applet.getAppletContext();
   ac.showDocument(destination,"_blank");
catch (MalformedURLException e)
   System.out.println(e.toString());
...It works perfectly with Netscape 7.01 and IE 5.5, but not with IE6.0 or Firefox 1.0...
(using SUN JVM 1.4.2_04), and there is no trace/error message
With a http link, it works for all browsers...
try{
   URL destination=new URL("http://my.site/mypage.htm");
   AppletContext ac=applet.getAppletContext();
   ac.showDocument(destination,"_blank");
catch (MalformedURLException e)
   System.out.println(e.toString());
...Any idea ??
Thanks

Hello again
There's something I don't undestand...
java applet code
import java.applet.*;
import java.net.*;
public class test extends Applet {
     public void init() {
          try {          
               String path = "file:/C:/Temp/";
               URL destination = new URL(new URL(path) ,"test.jpg");
               System.out.println("URL is now: " + destination.getPath() );          
               AppletContext ac = this.getAppletContext();
               ac.showDocument(destination, "_blank");
          } catch (Exception e) {
               e.printStackTrace();
html code
<html>
<head>
<title>test</title>
</head>
<body>
<applet CODE = "test.class" ARCHIVE = "sTest.jar" width=350 height=200></applet>
</body>
</html>
Signature
javac -classpath ".;D:\Program Files\Java\j2re1.4.2_04\lib\plugin.jar" test.java
keytool -genkey -keystore mag -keyalg rsa -alias harm -validity 3600 -keypass password -storepass password
jar cf0 test.jar *.class
jarsigner -keystore mag -storepass password -keypass password -signedjar sTest.jar test.jar harm With a debug the signature looks good in the logs (translation by google, not sure of the correct words...)
The checking of the certificate using the certificates CA root failed
Piled up method
Unstacked method
Selected user: 0
The user granted the rights of access to the code for this session only
Addition of the certificate in the storage section of the certificates of session JPI
Certificate added in the storage section of the certificates of session JPI
Recording of the certificates in the storage section of the certificates of session JPI
Certificates recorded in the storage section of the certificates of session JPI
URL is now: /C:/Temp/test.jpg
Javascript: Activated UniversalBrowserRead
Javascript: Activated UniversalJavaPermission
What are the 2 last line ?? (appears only in firefox, not in IE55...don't have another browser yet 'cause my graphic card and motherboard are out of order :-(
Why in firefox, in the javascript console, there is a "message" (again translation by google...) but everything is alright in the java console ??
Error of safety: the contents located at http://www.distantserver.com/Demo/test/test.html cannot charge of data or establish a bond towards file:///C:/Temp/test.jpg.
Thanks in advance (and sorry if I only don't understand something from your link because of my english level...)

Similar Messages

  • Upon firefox update this morning, every window opens with error: CaptureMovieFox could not be initialized. Some files of the extension may be missing or there is a problem with the Firefox.

    upon firefox update this morning, every window opens with this error in a popup: ''CaptureMovieFox could not be initialized. Some files of the extension may be missing or there is a problem with the Firefox.''
    when I close the popup, the original window opens seemingly without issue.

    http://getfirebug.com/releases/firebug/1.8/
    visit this and find the compatible version of this f***ing firebug. which certainly has nothing to do with us (not-programmers). i have been having this problem for months but now the last link worked for my firefox 6. Find yours here.

  • How to open local file link in IE ?

    I know, this question is not APEX-related per se, but I was not able to google the fix to this problem.
    In my application, users can open a file open dialog and retrieve a complete file path that is later stored in the DB. Of course, Firefox's javascript does not allow this, but Adam Fisk's applet (https://bugzilla.mozilla.org/show_bug.cgi?id=405630#c40) does the job.
    The file path links to file:///..... . In Firefox, I have managed to open these links with NoScript settings (white list for our intranet trusted addresses and "allow local links" for trusted sites).
    Also, there is a LocalLink plugin (http://kb.mozillazine.org/Links_to_local_pages_don%27t_work) that allows to open local file links from context menu.
    However, on Internet Explorer nothing happens and LocalLink and NoScript are only for FF.
    Has anyone here managed to open local and intranet file links in IE?
    Igor

    You may find this article useful: http://balusc.blogspot.com/2007/07/fileservlet.html

  • Can't open local files.

    I cannot open any local files or folders in Firefox.
    I have tried opening the following file types in Firefox: htm, html, txt, pdf, xpi.
    I have tried opening files in the following ways:
    -Drag drop onto Firefox from windows explorer
    -Right click file in windows explorer and open with Firefox
    -Double click files that would be opened in Firefox by default
    -"Open file" from Firefox file menu
    I have experienced this problem in Firefox 3.x and Firefox 4.0. When I try to open a file in Firefox it creates a new tab with the file's path in the address bar but the file does not open.
    Any idea what could be going wrong?
    thanks
    Rob

    You may have an extension (NoScript?) that blocks access to local files.
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • I am having a problem with the FireFox browser. I have attached two files that best describe the problem. I have labeled them A & B. A is the way it should lo

    I am having a problem with the FireFox browser. I have attached two files that best describe the problem. I have labeled them A & B. A is the way it should look and B is what happens after I have I opened several tabs. I can get it back to normal if I click on VIEW than click on customize. When the customize window appears FireFox returns to its normal state. I than click on the done box and go back to what I have been doing. I tried resetting FireFox back to default settings, but that did not correct the problem.
    This began happening about a month ago. Is there a way I can fix this problem? Thanks for your help.I don't know how to attach my 2 attachments that shows the problem I am having.
    [email address removed to protect your privacy and security]
    <! [email protected] -->

    I found the images here: https://support.mozilla.org/en-US/questions/977542#answer-501598

  • Open local file using fileReference in AIR

    I just started to build an AIR application and am facing a
    very basic problem. I need a File->Open menu that pops up a file
    open dialog and returns the location (including folder) of a file
    to edit.
    - I tried the fileReference.browse() but this does not seem
    to provide the full path to the file
    - I tried fileReferenceList.browse() but the SELECT event
    does not fire on my Mac under (seem to be a bug reported last
    October:
    http://bugs.adobe.com/jira/browse/SDK-13220)
    Now, how can I achieve this in AIR? I assume opening local
    file is a pretty standard operation for desktop application, any
    suggestion/tip?
    thanks
    *P

    You don't want to use FileReference in AIR for what you are
    doing. Check the documentation for the mx.controls.FileSystemTree.
    There are actually a handful of AIR-specific controls for accessing
    the file system. There isn't a "File Open" dialog per se; you can
    build your own out of the controls given. I will say that the
    controls will have the flavor of the OS (so on a Mac the controls
    will behave similarly to the way a Mac accessses and browses for
    files).

  • Can't open DNG files created with Mac CS5 downloader in Mac CS4 Photoshop

    I recently installed CS5 on my mac but I kept CS4 installed as well.  I notice that I cannot open DNG files created with CS5 in Photoshop CS4.  Bridge CS4 shows the files only as icons - no image thumbnails.  I am able to open these same files on a Windows version of CS4.  Is there some plugin for my mac CS4 that will enable me to access the DNG files created with CS5?  Is there a way to use my CS5 downloader when converting my raw files from my camera to DNG files that will make them compatiple with PS and Bridge CS4?

    rr3rd wrote:
    Is there a way to use my CS5 downloader when converting my raw files from my camera to DNG files that will make them compatiple with PS and Bridge CS4?
    Well, yes...but you'll need to modify your DNG Converter prefs to allow for that. You''ll need a recent (ideally current DNG Converter 6.4.1 or above) and click on the DNG Converter preferences and select the correct DNG Converter options. Check DNG Converter 6.4.1 (the current version) and click on "Change Preferences" to be sure select Camera Raw 5.4 and later then make sure CS4 is updated to ACR 5.7 (which is the last version of ACR for CS4) However, the changes made to ACR 6.x really should be adopted since IQ for ACR 6.4.x is a lot better...

  • Why can't I open RAW files taken with my Nikon D3200 in Elements 10?

    Is there a fix in the works that will allow me to open RAW files taken with my Nikon D3200?

    Actually the 7.1 camera raw update covers the D3200, but for whatever reason adobe has denied users of pse 10 that update.
    Maybe it will still be released, but to me something else seems to be up, because in the past the latest version of elements (at least on windows) was always updated
    to the latest version of camera raw at the same time photoshop was.
    In the meantime you could download the 7.1 DNG converter to convert your files to dng copies which will then open in pse 10.
    windows:
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5389
    mac:
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5388
    I know this stinks, but other than using the camera makers or aftermarket raw programs (lightroom), that's the best i can suggest for now.

  • Anyone know if the long standing duplicate files problem with File History has been fixed yet?

    There are loads of public threads about the duplicate files problem
    with Windows 8/8.1 File History backup system.
    From all the threads I've looked at, there seems to be no solution,
    and no acknowledgement from MS that they can even repro the problem
    (which surprises me considerably as there are so many people who
    notice the problem).
    Is anyone aware of whether MS (may) have fixed this for Win10?
    Are MS aware of the problem and if they're able to fix it?
    Dave - with many GB of duplicated files in File History :)

    Hmm, is that the attitude MS would recommend? :)
    Why would I care what Microsoft would recommend?
    Clearly you don't, and you appear to have missed my smiley. Calm down
    Noel, many of us are as annoyed by aspects of modern Windows as you
    are. :)
    I'm all about making Windows actually WORK/./
    Aren't we all? Windows is software I use too many hours every day, I
    along with many millions of others need it to work really well. You
    are not alone.
    When they implement something that doesn't work, and even if it did work doesn't do what's needed - and/beyond that/ they remove features people DO need (such as the GUI for Windows Backup), I see no wrong in advising people of the way things
    really are.
    File History essentially does work - it's saved me a couple of times
    in the past couple of weeks. It just has a highly annoying habit of
    creating 100% duplicates of some files for no apparent reason. If MS
    have fixed that I won't have any known complaints about it.
    If you don't like it, you don't have to use it. I generally like it, I
    just want to see that its fixed.
    Dave

  • ECL Viewer - Open Local File

    If I open a tiff image using cv03n and display it in the ECL Viewer. Then I save as a local file. Is there a way to re-open the local file using "open local file" - that option is greyed out. Is this controlled by an authorization object or something is DMS configuration I have missed.
    Tom

    Hi Tom,
    unfortunately it is not possible to open the local saved file again in the ECL Viewer. This is designed that way because the
    ECL Viewer should be used to display original files which are stored in the SAP system and the idea is not to allow also the display of locally saved files in the ECL viewer within your SAP system.
    So the locally saved files has to be opened in a separate viewer.
    Best regards,
    Christoph

  • File open menu will not open local files using open command but the same files will open if I double click them (permissions seem fine)

    Under File menu Open File will not open local files even those downloaded to the desktop by Firefox 5.
    If I double click on HTML file it does open
    Reinstalled. Same behaviour. Default Browser set correctly.
    Permissions set correctly. Odd behaviour.

    Are you sure it hasn't imported?
    Check for the track names (trackname only, not Album or Artist)) and see if they have a blank Artist and Album, because WAV files have no MetaData, so are kind of stupid as far as knowing anything about the Artist, Album & track id.
    You can't search by 'Untitled' either as there is literally, no name at all, but iTunes does pick up the actual physical track name in Finder and uses that. As an example, if you renamed your Aerosmith WAV file from say 'Toys In The Attic' to 'Love Song' it would import the track as 'Love Song' as that's all it can go by.
    There are a few iTunes AppleScripts that let you import from a file of WAV music, by looking at the enclosing Album in the enclosing Artist as that's how most PC progs create the WAV file structure.
    Mike

  • How do I open raw files taken with Canon 70D.  Not supported in Elements 12.  Is there a download?  Thanks.

    How do I open raw files taken with a Canon 70D?  Elements 12.  Version 8.0 Windows 7 64 bit.  Thanks in advance for any help.
    JWT
    Lamar, CO

    Thank you so much for you quick answer.  Works fine, now.  Thanks again, Barbara.
    JWT

  • HT3775 I could not open video file name with .flv

    I could not open video file name with .flv Please help to advise?

    Install Perian or use VLC.
    (86537)

  • HT202879 How can I open a file made with old version of Pages (before 09)?

    I need to open a file made with old version of Pages (before 09).  How can I do this?  I only have iworks Pages free with Mac Book Pro.

    You need either Pages '09 or the original Pages '08? programs.
    With Pages '09 you simply open it and it accurate converts it to Pages '09. Pages 5 will open the Pages '09 version but may alter/damage the file.
    With Pages '08 you Export it to Word .doc/.docx with mixed results, then open that in Pages 5 which may alter/damage the file.
    Peter

  • Opening Cr2 file made with Canon g11 in Elements 7

    Recently I purchased a G11. Elements 7 won't open the raw files created with that camera. I get an error message saying wrong type of file.
    Elements 7 opens cr2 files made with my Canon Rebel (3 years old)
    Ideas?

    Download and install the Camera Raw 5.6 update:  http://www.adobe.com/support/downloads/detail.jsp?ftpID=4626
    Juergen

Maybe you are looking for

  • RAC control file has correpted, unable to mount database

    hi guru's, Im trying to startup my rac db, but it giving following error. SQL> startup ORACLE instance started. Total System Global Area 233861120 bytes Fixed Size 2212088 bytes Variable Size 176164616 bytes Database Buffers 50331648 bytes Redo Buffe

  • Ipod touch Why won't my 2nd gen ipod touch sync with ical

    Rather recently my ipod touch (2nd gen) won't sync with the ical.  The only information that shows up is birthdays.  None of my appointments past or future are syncing.  What is happening? I have tried to 1. select individual calendars and 2. tried t

  • Setting up C340 20" non touch all in one pc/backup questions

    Hello there I have just bought two C340's and I am nervious about setting them up, I have gone through the prompts and it says I am up and running now.  But as it came with windows 8 preinstalled I don't know if I should be backing up Windows 8?  I s

  • XML validation problem

    hi, i am trying to validate an xml document against a schema document abnd am getting some strange validation errors. i am using xerces to parse. here are my java classes:- //---------------------------------------- class Validation------------------

  • Video displays text garbled up.

    As I scroll through the text of my Mail list, a message, or text file; the video displays a gargle mix of letters and to solve the issue; I have to slowly scroll the text out and back in so it will display correctly.  Is this a software or hardware p