• Post Reply Bookmark Topic Watch Topic
  • New Topic

applet reading file

 
Peter Guillebaud
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an applet that needs to read a file off the local machine that the applet is written on, not on the remote browser. I know this can be done as I have done it once already... I can't remember how to set up access permissions. Can anyone help? I seem to remember an AWT/Swing type dialog box - was it security manager or something? Thanks...
 
Brian Wodlinger
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having the same problem I think.. I get security exceptions when trying to read a local text file. Have you found any answers?

 
Peter Guillebaud
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes - put the file in the root of the web directory. Hope this helps
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!