通过c标签取页面参数

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

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

发布了40 篇原创文章 · 获赞 1 · 访问量 4502

猜你喜欢

转载自blog.csdn.net/hyt182380/article/details/87934595
今日推荐