Coder's Guild Mailing List

Re: Re: Java question one more time

Posted by Dario Silva on 1999-11-08

>If you want the applet to run from a website, generally browsers will only
>allow that applet to read and write from the same machine that the applet
>was retrieved from.
>So, if the applet is on a page at www.somewhere.com/applet/applet.html,
then
>most browsers will allow you to use any class in the java.net.* package, so
>long as they are only used with www.somewhere.com.

    Ok, now.. why can't I output to a file specified with an URL created
>from the URL that returns the getCodeBase() method of an apllet ?? Doesnīt
that means that "new URL(getCodeBase(),'someFile.txt')" is a valid URL to
write to, inside an applet method??
    Two more things: what are sigend applets and cgi files?? I've seen some
cgi but I donīt know what they are...

>-Benjamin Johnston
>s355171@xxxxxxx.xx.xxx.xx

        Dario
        tripero@xxxxxxxx.xxx