code: public void sendRedirect(final String location) {
          try {
              response.sendRedirect(location);
          } catch (final Exception e) {
              LOGGER.log(Level.ERROR, "Sends redirect [" + location + "] failed: " + e.getMessage());
          }
      }
docs: Sends redirect to the specified location.
  
  @param location the specified location