<%@page import="com.zky.manager.*"%> <%@ page import="com.zky.pub.*"%> <%@ page language="java" pageEncoding="utf-8" %> <% String ls_url1 = "",outstr1 = ""; Login login_obj = (Login)session.getAttribute("login"); //验证session是否过期 if(login_obj == null) { ls_url1 = "/error.jsp?errorinfo=" + "
"+Common.toGb("您尚未登录或已经过期!")+"
"+Common.toGb("重新登录")+"
"; //outstr1 = new String(ls_url1.getBytes("gb2312"),"iso8859-1"); outstr1 = Common.GbConvertIso(ls_url1); response.sendRedirect(outstr1); return; } //验证口令是否验证通过 if(login_obj.checkPasstag() == false) { ls_url1 = "/error.jsp?errorinfo=" + Common.toGb("您没有成功登录!")+"
"+Common.toGb("重新登录")+""; //outstr1 = new String(ls_url1.getBytes("gb2312"),"iso8859-1"); outstr1 = Common.GbConvertIso(ls_url1); response.sendRedirect(outstr1); return; } %> 学生评定系统 <% login_obj = (Login)session.getAttribute("login"); login_obj.outXTree(); String menuidlist = login_obj.menuidlist; %>
<%@include file="/menu.jsp"%>