Lets say I want to write an applet that displays the url of the server the applets is stored on. Is that possible and what is the function for knowing it?

I was thinking something like

...