jstl验证用户是否已登录

<c:if test="${empty sessionScope.isLog}">
 你没有登录或登录超时
 <a href="index.jsp">重新登录</a>
</c:if>

<c:if test="${sessionScope.isLog eq 1}">

<!--这里是实现功能的代码-->
</c:if>
posted on 2005-03-11 15:28  似水流年  阅读(492)  评论(0编辑  收藏  举报