request.getAttribute():是request时设置的变量的值,用request.setAttribute("name","您自己的值");来设置值,request.getParameter():提取发送过来的参数如:本网页