FileDocCategorySizeDatePackage
Multihome.javaAPI DocExample412Thu Apr 03 15:19:14 BST 1997None

Multihome

public class Multihome extends Applet

Fields Summary
Constructors Summary
Methods Summary
public voidinit()

  
    AppletContext ac = getAppletContext();
    URL oldURL = getDocumentBase();
    try {
      URL newURL = new URL(oldURL.getProtocol() + "://" + oldURL.getHost() + "/" + oldURL.getHost() + oldURL.getFile());
      ac.showDocument(newURL);
    }
    catch (MalformedURLException e) {
    }