final public void redirect(String url){
  resp.setHeader("Location",url);
  setStatus(HttpServletResponse.SC_MOVED_TEMPORARILY);
}

final public void redirect ( String url ) { resp . setHeader ( "Location" , url ) ; setStatus ( HttpServletResponse . SC_MOVED_TEMPORARILY ) ; }
response and redirect to the url
