Article View: borland.public.jbuilder.java.language
Article #17902Re: Retrieving directory list in applet
From: Richard Wilkman
Date: Fri, 18 Sep 1998 00:00
Date: Fri, 18 Sep 1998 00:00
40 lines
1956 bytes
1956 bytes
Dave: Most of java.io is simply off limits from Applets, and you can't get there from here with a URL. One thing that might work would be a showDocument with a URL that is built from the Applet location but doesn't have the actual html file located. On some web servers this gives you just a listing of the files in that directory. -Rich Dave Lamy wrote: > > Everyone-- > I am attempting to provide the user a list of files found in a particular > directory (URL) in an applet. When working in the IDE, I was using the File > object, which has the list() method.. but I'm assuming that this method is > reading the client machine's file system so browsers would nix it. What's > the comparable method in URL-ese? I'm assuming a URL object would be > involved, but the getContent() method doesn't seem to be the answer. > Thanks in advance for the help! > Dave Lamy > Synergy, Inc > dlamy@synergyinc.com -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rich Wilkman Senior Quality Assurance Engineer Borland JBuilder Team If you see something that looks like an opinion up there, it's mine and mine alone. Mail sent to me from the newsgroups won't bounce but will be ignored. If I have time, I'll respond, but you have a better chance if you confine your posts to the newsgroups =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<3602814C.7FA108C6@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6ttsph$aod9@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,29c761a18408d384 X-Google-Attributes: gidf74b3,public From: Richard Wilkman <rwilkman@inprise.com> Subject: Re: Retrieving directory list in applet Date: 1998/09/18 Message-ID: <3602814C.7FA108C6@inprise.com> X-Deja-AN: 392438198 Content-Transfer-Encoding: 7bit References: <6ttsph$aod9@forums.borland.com> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language