jQuery in Action, 3rd edition
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Applet to .txt file comm." Watch "Applet to .txt file comm." New topic

Applet to .txt file comm.

gulshan grover

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
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: Applet to .txt file comm.
It's not a secret anymore!