Henry,
You can use the getSourceURL() method of the
IAppli class. This returns what you're looking for I
think.
-Randy
--- Henry Minsky (hqm@ai.mit.edu) wrote:
> On a related topic -- I have written this little
micro-browser for the
> iAppli, but the
> security restrictions on the HTTP connection only
let you connect back to
> the host you downloaded the applet from.
>
> I made a script in the applet's home directory on
the server acts as a
> little proxy server, and
> the applet can access it using a hardcoded URL, but
now
> I am wondering what is the easiest way to make my
code access this in a
> portable way.
> Is there anything in the IAppli API that I can
query to find out the "URL
> base" or exact URL
> of the jar file from which
> the currently running applet was downloaded?
Otherwise , I can pass this
> info in as
> a AppParam, but that requires making someone change
that entry in the .jam
> file when
> they deploy the applet on another web server
(trivial to do, but..)
[ Did you check the archives?
http://www.appelsiini.net/keitai-l/ ]
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/?.refer=text
[ Did you check the archives? http://www.appelsiini.net/keitai-l/ ]
Received on Thu Mar 29 02:15:54 2001