Coder's Guild Mailing List

Re: Java

Posted by Frank Hale on 1999-11-05

> Hi!! I'am imlpementing an apllet (Japplet) and I
> need to read from and
> write to a text file, but that file is specified by
> an URL (this is because
> I want this applet, of course, can be executed on a
> remote machine).
>     Can anyone tell me which classes do I have to
> use?? I found the
> BufferedReader but I didnīt find any class that
> takes and URL to write to.
> And I also need a dialog to specify the file (in the
> local machine) to read
> from and to write to.
>     So, that's all, I hope anyone of you can help
> me... Bye!!

Look at the classes in the java.net package. There are
classes such as HttpURLConnection, InetAddress,
Socket, these may be the ones you need to use.


__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com