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 · 459 visningar · startad av Cliff
Trådstart#1
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!
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.
... but reading files from the 'net is a piece of cake. http://java.sun.com/docs/books/tutorial/networking/urls/connecting.html

