前台获取信息进行跳转
1、不在js中
<c:if test="${empty sessionScope.adminAccount}">
       <c:redirect url="${ctx}/yxladmin.jsp" context="/" />
</c:if>
2、在js中
if($.trim("${sessionScope.adminAccount}") == "")
{
       top.location.href="${ctx}/yxladmin.jsp";
}
    国泰民安
 
                    
                     
                    
                 
                    
                 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号