View Full Version : Server URL
ld_pvl
07-03-2009, 06:15 AM
Hello,
How can I get the current URL of the server on which my applet is currently in?
Thank you,
LD
servlet
07-03-2009, 03:45 PM
Are you sure, you mean "applet"?
Do you mean, how to find out the server url where from where the applet class is downloaded ?
Note: Applet does not execute in server, its just hosted there, that mean the apple class file resides in server file system thats all. otherwise applet runs in the browser.
getCodeBase() method of Applet may help you.
ld_pvl
07-03-2009, 11:43 PM
Are you sure, you mean "applet"?
Do you mean, how to find out the server url where from where the applet class is downloaded ?
Note: Applet does not execute in server, its just hosted there, that mean the apple class file resides in server file system thats all. otherwise applet runs in the browser.
getCodeBase() method of Applet may help you.
Thanks a lot
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.