request.getAttribute()和 request.getParameter()有何区别?
a、request.getParameter()获取的类型是String;request.getAttribute()获取的类型是Object。b、request.getPrameter()获取的是POST/GET传递的参数值和URL中的参数;request.getAttribute()获取的是对象容器中的数据值/对象。c、request.setAttribute()和request.getAttribute()可以发送、接收对象;request.getParamter()只能接收字符串,官方不