Java Servlet Url Shortenner Program