<%
request.setAttribute("rkey", "rvalue");
session.setAttribute("skey", "svalue");
application.setAttribute("akey", "avalue");
%>
获取 request 中的数据:${requsetScope.rkey }
<br><br>
获取 session 中的数据:${sessionScope.skey }
<br><br>
获取 application 中的数据:${applicationScope.akey }
获取 request 中的数据:
获取 session 中的数据:svalue
获取 application 中的数据:avalue
el表达式使用是需要导入jar包的
我知道了 request 我拼写错了 哈哈
虽然来晚了,但是我仍然跟你个赞。。。。。大拇指向下!!!