try {
URL base = this.getDocumentBase();
URL relative = new URL(base, "mailinglists.html");
this.setLayout(new GridLayout(2,1));
this.add(new Label(base.toString()));
this.add(new Label(relative.toString()));
}
catch (MalformedURLException e) {
this.add(new Label("This shouldn't happen!"));
}