1 import java.net.*;2 3 public class HttpURL {4 5 public static void main( String [] args ) throws Exception {6 jcifs.Config.registerSmbURLHandler();7 8 URL u = new URL( new URL( args[0] ), args[1] );9 System.out.println( u );10 }11 }12