Servlet Redirect Java
response.setStatus(HttpServletResponse.SC_FOUND); // SC_FOUND = 302
Elated Earthworm
response.setStatus(HttpServletResponse.SC_FOUND); // SC_FOUND = 302