| Use the extra initialization parameters added to the APPLET tag
by AppletUtils.createAppletTag() to open a connection back to
the Multiserver, using the same session as the one used
to get the HTML page that contained the APPLET tag.
The resulting URLConnection is ready to have
connect() called on it. You may initialize more
options if you wish, for example setDoOutput() or
setRequestMethod() before calling connect() .
The resulting URLConnection may also be a HttpURLConnection, but
this is not guarenteed. In the JDK on Windows and Solaris it is,
but when running in Netscape Communicator as an applet, it is not.
So to be safe, we return the more generic class. The main
functionality missing is the ability to set the request method.
However, if you call setDoOutput(true) in Communicator,
it will issue a POST request.
Parameters: applet - The applet that is calling this method. A connection back to the server, or null if an error occured. |