Hur gör man för att läsa från en fil och skriva en fil på hårddisken i applet? Jag har förstått att certifikat är en lösning men inte riktigt förstått hur det skall gå till.
Läsa/skriva från fil i Applet
4 svar · 449 visningar · startad av Cliff
Hi!
I have an applet that's supposed to read a file from the server harddisk with filereader, but it doesn't work. "Access denied" or something like that.
It works perfectly in appletviewer though.
I've read the FAQ about it and tried the ".javahot/properties" but without success. Please help me cause this is urgent!
------------------
http://www.hrundi.com
I have an applet that's supposed to read a file from the server harddisk with filereader
An applet executes on the client side so reading a file on the server side with a FileReader isn't possible.
------------------
"Med ett schysst järnrör slår man hela världen med häpnad" - Socker-Conny
... but reading files from the 'net is a piece of cake. http://java.sun.com/docs/books/tutorial/networking/urls/connecting.html
------------------
Life feeds on life feeds on life feeds on life feeds on life...

