the difference between request.getParameter()&request.getAttribute()
request.getParameter和request.getAttribute之间的区别:
HttpServletRequest类既有getAttribute()方法,也由getParameter()方法,这两个方法有以下区别:
(1)HttpServletRequest类有setAttribute()方法,而没有setParameter()方法
(2)当两个Web组件之间为链接关系时,
转载
2011-12-29 10:12:48 ·
244 阅读 ·
0 评论