permaculture playing cards*
The moose likes Java in General and the fly likes Applet to .txt file comm. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Applet to .txt file comm." Watch "Applet to .txt file comm." New topic
Author

Applet to .txt file comm.

gulshan grover
Greenhorn

Joined: Oct 30, 2001
Posts: 9
i want to get text from a text file in a applet. I am trying Filereader and bufferreader but iyt is not working.
can somebody help me.
karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
hi,
do you want to read a text file stored on the machine running the applet ?
this is not allowed for security reasons! however, with a signed applet you should be able to do so (it will prompt the user if he wants to grant read access to your file system to this applet).
the same applies for servers other than the one the applet was loaded from.
if this did not anser your question, then give some more details on your problem.
k
 
Consider Paul's rocket mass heater.
 
subject: Applet to .txt file comm.