---
title: "Läsa/skriva från fil i Applet"
type: "forum-thread"
url: "https://www.webforum.nu/amne/java/28256-läsa-skriva-från-fil-i-applet"
topic: "Java"
topic_url: "https://www.webforum.nu/amne/java"
author: "Cliff"
published: "2001-03-14T16:18:00.000Z"
updated: "2001-04-03T20:05:00.000Z"
replies: 4
views: 459
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/java/28256-läsa-skriva-från-fil-i-applet"
---

# Läsa/skriva från fil i Applet

## #1 — Cliff, 2001-03-14T16:18Z

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.

Permalänk: https://www.webforum.nu/p/28256

## #2 — sgtpepper, 2001-03-14T23:11Z

Kika [här](http://java.sun.com/sfaq/) (kolla under rubriken Applet Security).

Permalänk: https://www.webforum.nu/p/401803

## #3 — Hrundi, 2001-04-03T13:58Z

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!

Permalänk: https://www.webforum.nu/p/401804

## #4 — sgtpepper, 2001-04-03T14:13Z

> 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.

Permalänk: https://www.webforum.nu/p/401805

## #5 — spango, 2001-04-03T20:05Z

... but reading files from the 'net is a piece of cake. <http://java.sun.com/docs/books/tutorial/networking/urls/connecting.html>

Permalänk: https://www.webforum.nu/p/401806

---

Tråden på webben: https://www.webforum.nu/amne/java/28256-läsa-skriva-från-fil-i-applet
