request.getSession().setAttribute(id,对象); request.getRequestDispatcher(目录).forward(request,response);//跳转注册界面