code: public static void sendRedirect(
  		HttpServletRequest request,
  		HttpServletResponse response,
  		String href,
  		int status
  	) throws IllegalStateException, IOException {
  		sendRedirect(
  			response,
  			getRedirectLocation(
  				request,
  				response,
  				request.getServletPath(),
  				href
  			),
  			status
  		);
  	}
docs: Sends a redirect with relative paths determined from the request servlet path.
  
  @see  #getRedirectLocation(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, java.lang.String)  for transformations applied to the href