This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Applets and the fly likes Reading local files Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Applets
Reply Bookmark "Reading local files" Watch "Reading local files" New topic
Author

Reading local files

Brian Wodlinger
Greenhorn

Joined: Oct 20, 2001
Posts: 4
I need to read a text file in an applet, but every time I do, Netscape starts throwing security exceptions. Is there some way around this? Am I not reading the file properly?
Thanks in advance,
Brian.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14480
    
    7

Unsigned applets are forbidden to access local files. Otherwise I could write an applet that would send me information off your computer you'd rather keep private.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Reading local files
 
Similar Threads
OutputStream
named pipe
program reagarding reading and writing to a file in java
how can i read HTML file in java
Help me!!!