User Profile

Collapse

Profile Sidebar

Collapse
cpanon
cpanon
Last Activity: Feb 2 '08, 09:07 PM
Joined: Sep 21 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • cpanon
    replied to signed app|File.exists fails
    in Java
    Hi BD
    Thanks for the the tip. I tried a post to their applet, I should be spanked for cross posting, grin. I think it may be something that requires getClass.getRes ourceAsStream. The file I am trying to open is within the jar but opening it up on the local file system. I may just change the code and open it up from the jar directly, it just forces me to break the "write once..." I still have to get it working before I get all...
    See more | Go to post

    Leave a comment:


  • cpanon
    replied to signed app|File.exists fails
    in Java
    Hi RedSon
    It is something more subtle than that. I am logged in as Administrator. Furthermore I found some code , and it runs just fine and I can open the same file with it form the very same page that the other applet gives an error. If it is a signed app, and I access the file from start() w/o errors, why cant I call a method on my applet object, that calls an object that then calls the final object that actually does the local file access....
    See more | Go to post

    Leave a comment:


  • cpanon
    replied to signed app|File.exists fails
    in Java
    Hi RedSon
    Thanks No errors other than the permission denied. However since then,
    empirically I found a partial answer. If I try to access the local file in any method other than start() it fails with Caused by: java.security.A ccessControlExc eption: access denied (java.io.FilePe rmission...
    Should I have expected that? How can I get around it? I have this object as a member of another object that my applet creates and calls....
    See more | Go to post

    Leave a comment:


  • cpanon
    started a topic signed app|File.exists fails
    in Java

    signed app|File.exists fails

    Hello
    I have a signed applet and I still cant access the local file system with File.exists. The code is stumble-stupid:
    File f = new File("someLocal Path");
    if (f.exists) {...}

    The cert is is stored in the Java Console. What more do I have to do? Also what is the best way, after asking nicely, to store personalized data on a browsers local file system from an applet:just establish some path for the users...
    See more | Go to post

  • cpanon
    started a topic Parsing XML using Prototype's $()

    Parsing XML using Prototype's $()

    Hello
    js & aj newbie.
    How/can I use prototype $() to parse out all the elements of a returned XML document?
    See more | Go to post
No activity results to display
Show More
Working...