title: Get host url from Java Applet
body: <p>I have a java applet which is hosted on a device's web page.  The applet needs to retrieve data from the device at runtime.  Currently the device is configured to output the required data out port 8080 (so, say, 192.168.1.1:8080).  How would I inform my applet of its host web page's URL so that it would know where to get the data from?</p>
  
  <p>Thanks,  John</p>