日期:2014-05-18 浏览次数:20636 次
<%@ page language="java" import="java.util.*,com.fiss.entity.Admin" pageEncoding="gbk"%> <% String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; Admin admin = (Admin) request.getSession().getAttribute("admin"); if (admin == null) { %> <script> location.stop(); window.location.href = "<%=basePath%>manager/login.jsp"; </script> <% } %>