[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
Well don't expect me to do the dishes! This ad has been cleaned for your convenience:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter


This thread has been viewed 710 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 21, 2018 02:40:35.