Article View: borland.public.jbuilder.java.api
Article #3629Re: URGENT: How to manage files in a server from an applet
From: Gil Delavous
Date: Thu, 30 Oct 1997 00:00
Date: Thu, 30 Oct 1997 00:00
58 lines
2363 bytes
2363 bytes
Hey, this is too bad. What can you do with an applet so? Display fancy rotating logos? It would have been good that the server could be used to store files, without implementing a c/s logic... I'm quite frustrated about this! Gil Rich Wilkman a οΏ½crit dans le message <3458BE6C.67BDB929@corp.borland.com>... >Greg: > >Fishing with a shotgun again? <g> Yes, that would work but only those that >control the >server could deploy such an applet. Probably overkill in this case. > >-Rich > >Greg Hamer wrote: > >> now that rich says you don't, you can do it if you write a client server >> applet and then >> have the server do all the file stuff with your applet instructing it >> what to do. Lots of work >> though. You can wade through samples\borland\apps\chess\client & server >> if your really >> need to do it. >> >> Rich Wilkman wrote: >> >> > 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:
<63ak6q$n8s2@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6386sf$mtv4@forums.borland.com> <3457B369.6C0A1DA6@corp.borland.com> <345815FD.5946E259@borland.com> <3458BE6C.67BDB929@corp.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1089d0,42fb639896549357 X-Google-Attributes: gid1089d0,public From: "Gil Delavous" <delavous@webstore.fr> Subject: Re: URGENT: How to manage files in a server from an applet Date: 1997/10/30 Message-ID: <63ak6q$n8s2@forums.borland.com> X-Deja-AN: 286033363 References: <6386sf$mtv4@forums.borland.com> <3457B369.6C0A1DA6@corp.borland.com> <345815FD.5946E259@borland.com> <3458BE6C.67BDB929@corp.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: None Newsgroups: borland.public.jbuilder.java.api