java servlet redirect without history code example Example: servlet redirect java response.sendRedirect("login.jsp");