String viewPath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;