FileDocCategorySizeDatePackage
Redirector.javaAPI DocExample366Thu Apr 03 15:19:48 BST 1997None

Redirector

public class Redirector extends Applet

Fields Summary
Constructors Summary
Methods Summary
public voidinit()

  
    AppletContext ac = getAppletContext();
    URL oldURL = getDocumentBase();
    try {
      URL newURL = new URL(getParameter("newhost") + oldURL.getFile());
      ac.showDocument(newURL);
    }
    catch (MalformedURLException e) {
    }