response.sendRedirect("index.do")是void类型
out.print(response.sendRedirect("index.do"))当然不行