${param.name}和${name}的区别

${param.name} == request.getParam("name")
${name} == request.getAttribute("name").

getParam是表单的值或者是url中传来的值,如/login.action?attid=${attId}
getAttribute是设置在requestScope里的值

posted @ 2016-08-25 18:02  杰-维斯布鲁克  阅读(2554)  评论(0编辑  收藏  举报