login.jsp页面,登录成功后到index.jsp页面,index.jsp用的是easyUI的layout框架,
当session超时后,跳到登录页面,但是没有跳出layout框架,怎么解决,求大神?
备注:jQuery,easyUI,ssh框架,
index.jsp 页面的代码:
<script type="text/javascript">
if (top.location != self.location) {
top.location=self.location;
}
</script>
</head>
<body id="indexLayout" class="easyui-layout">
<div region="north" class="logo" style="height:60px;overflow: hidden;" href="layout/north.jsp"></div>
<div region="east" title="当前日期" split="true" style="width:200px;overflow: hidden;" href="layout/east.jsp"></div>
<div region="center" title="欢迎使用" style="overflow: hidden;" href="layout/center.jsp"></div>
<div region="west" title="功能导航" split="false" style="width:200px;overflow: hidden;" href="layout/west.jsp"></div>
<div region="south" style="height:20px;overflow: hidden;" href="layout/south.jsp"></div>
</body>