please consider using an URL builder (java.net.*????)