An absolute URL like http://www.poly.edu/fall97/grad.html#cs
try { URL u = new URL("http://www.poly.edu/fall97/grad.html#cs"); } catch (MalformedURLException e) {}