move url parsing to the server to utilize java