关于el表达式中param的用法

${param.name} 等价于 request.getParamter("name"),这两种方法一般用于服务器从页面或者客户端获取的内容。

${requestScope.name} 等价于 request.getAttribute("name"),一般是从服务器传递结果到页面,在页面中取出服务器保存的值。

猜你喜欢

转载自www.cnblogs.com/whr1226/p/10611539.html