You would need to have the Java code call a cgi script or servlet that resides
on the remote host.  The cgi or servlet could then write to its local machine.
You are correct about the java.io.*. You would need to use the java.net.* api.
to run the script.

Michael Holst wrote:

> Hello,
>
> I'm not a Java newbie, but I am not too familiar with the networking
> classes of our dear "write once, run anywhere" language.
> The problem is the following, I need to let an applet write a file to a
> specified http address in order for it to work correctly. How do I
> acomplish this? If I am correct, the java.io.* only works for local
> files.
>
> Any help would be appreciated.
> -Michael
> --
> Michael Holst Schlager
> [EMAIL PROTECTED]
>
> Instituto Tecnologico de Costa Rica
> TEC Linux
>
> -- Linux & MacOS Addict  --
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to