[Logo]
Forums Register Login
Opening files from applet
I have a doubt.
How to open a file from applet?
can anybody tell this?
Do you mean a file on the user's computer or one from the server?
I am interested in a reply for this.
I realise there are security restrictions preventing you from opening files on the users computer, but I need my applet to read a list of questions from the server upon which it resides. I can see methods for reading audio clips and images, but none for plain files.
Thanks
hi!
you can make a URL connection to the server and use a buffered reader to read from the file on the server.
i have the code...lemme know if you need it.
hope this helps.
meera
meera Send me the code plz
adilsec@yahoo.com
Thanks
Doody calls. I would really rather that it didn't. Comfort me wise and sterile tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA


This thread has been viewed 776 times.

All times above are in ranch (not your local) time.
The current ranch time is
Aug 15, 2018 14:33:04.