FileDocCategorySizeDatePackage
Multihome.javaAPI DocExample410Thu Apr 03 15:19:38 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 (Exception e) {
    }