FileDocCategorySizeDatePackage
URLConstructorTest4.javaAPI DocExample367Thu Apr 03 15:15:54 BST 1997None

URLConstructorTest4

public class URLConstructorTest4 extends Applet

Fields Summary
Constructors Summary
Methods Summary
public voidinit()

  
    URL u1, u2;
  
    u1 = getDocumentBase();
    System.out.println(u1);
    try {
      u2 = new URL(u1, "vendor.html");
      System.out.println(u2);
    }
    catch (MalformedURLException e) {
      System.err.println(e);
    }