Using httpServletRequest.getRequestURL() instead of getRequestURI() as the later doesnt return the host and port details