Article View: borland.public.jbuilder.java.api
Article #3619Re: URGENT: How to manage files in a server from an applet
From: Rich Wilkman
Date: Wed, 29 Oct 1997 00:00
Date: Wed, 29 Oct 1997 00:00
19 lines
1199 bytes
1199 bytes
Gil: You don't. An Applet cannot write files (or create files/directories) on the server where it lives, only read. All the File related classes implement security manager and will stop those activites (even checking for write permision, if memory serves). You are pretty much limited to activities based upon InputStreams. -Rich Gil Delavous wrote: > Hi, I want to create an applet the basically displays files and directories > in the server where this applet is located. I'd like my applet read and > write some of the files, create/remove directories, and so on. > It seems that I cannot use the File and RandomAccessFile classes, because > they only work with local system. > So, how can I easily handle this from an applet?
Technical Details
Message-ID:
<3457B369.6C0A1DA6@corp.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6386sf$mtv4@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,42fb639896549357 X-Google-Attributes: gid1089d0,public From: Rich Wilkman <rwilkman@corp.borland.com> Subject: Re: URGENT: How to manage files in a server from an applet Date: 1997/10/29 Message-ID: <3457B369.6C0A1DA6@corp.borland.com> X-Deja-AN: 285841960 References: <6386sf$mtv4@forums.borland.com> Organization: None Newsgroups: borland.public.jbuilder.java.api