表示变量的作用域,一共4种。
pageScope: 表示变量只能在本页面使用。
requestScope:表示变量能在本次请求中使用。
eg: <c:forEach items="${requestScope.pagemsg.lists}" var="dict" varStatus="status">
sessionScope:表示变量能在本次会话中使用。
applicationScope:表示变量能在整个应用程序中使用。
表示变量的作用域,一共4种。
pageScope: 表示变量只能在本页面使用。
requestScope:表示变量能在本次请求中使用。
eg: <c:forEach items="${requestScope.pagemsg.lists}" var="dict" varStatus="status">
sessionScope:表示变量能在本次会话中使用。
applicationScope:表示变量能在整个应用程序中使用。