在后台更改session的值,前端通过jstl能获取更新后的session值
<c:choose>
<c:when test="${sessionScope.portalUser.points==null}">0</c:when>
<c:otherwise>${sessionScope.portalUser.points}</c:otherwise>
</c:choose>
在后台更改session的值,前端通过jstl能获取更新后的session值
<c:choose>
<c:when test="${sessionScope.portalUser.points==null}">0</c:when>
<c:otherwise>${sessionScope.portalUser.points}</c:otherwise>
</c:choose>
转载于:https://my.oschina.net/u/2402401/blog/698475