?? session.jsp
字號(hào):
<%@ page contentType="text/html;charset=GBK"%><%@page import="com.db.StaticBean"%><%com.util.DealString ds = new com.util.DealString();String go = ds.toGBK((String)request.getParameter("page")).trim();String uid = ds.toString((String)session.getAttribute("ID"));String temp = go ;if(uid.equals(""))go = "" ;if(!go.equals("瀏覽安排"))if(!StaticBean.existOfMan(uid,go))go = "";//系統(tǒng)設(shè)置if(go.equals("學(xué)院配置"))response.sendRedirect("../org/college/index.jsp");if(go.equals("系所配置"))response.sendRedirect("../org/department/index.jsp");if(go.equals("人員配置"))response.sendRedirect("../user/index.jsp");if(go.equals("角色權(quán)限配置"))response.sendRedirect("../role/index.jsp");//通知欄if(go.equals("發(fā)布通知"))response.sendRedirect("../notice1/new.jsp");if(go.equals("通知瀏覽"))response.sendRedirect("../notice1/list.jsp");//工作安排//if(go.equals("新建安排"))response.sendRedirect("../notice/new.jsp");/*if(go.equals("瀏覽安排")){if(StaticBean.existOfMan(uid,"工作安排管理")){response.sendRedirect("../notice/all.cgi");}else if(StaticBean.existOfMan(uid,"個(gè)人安排")){response.sendRedirect("../notice/getDate.cgi");}}*///相關(guān)文件if(go.equals("文件上傳"))response.sendRedirect("../attach/new.jsp");if(go.equals("文件下載"))response.sendRedirect("../attach/list.jsp");//問題解答//if(go.equals("提問題"))response.sendRedirect("../question/new.jsp");//if(go.equals("問題查詢"))response.sendRedirect("../question/show.cgi?id="+session.getAttribute("ID"));//if(go.equals("回答問題"))response.sendRedirect("../question/answer.cgi");//領(lǐng)導(dǎo)信箱if(go.equals("寫信"))response.sendRedirect("../letters/new.cgi");if(go.equals("收件箱"))response.sendRedirect("../letters/getbox.cgi?id="+session.getAttribute("ID"));if(go.equals("發(fā)件箱"))response.sendRedirect("../letters/sendbox.cgi?id="+session.getAttribute("ID"));%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><link rel="stylesheet" type="text/css" href="index.css"><link rel="stylesheet" type="text/css" href="../main/index.css"><title>無標(biāo)題文檔</title></head><body leftmargin="0" topmargin="0"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> <tr> <td><table width="90%" height="20" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="88%" height="20" bgcolor="#FFFFFF" class="title_s"> 您已登陸: <%=ds.toString((String)session.getAttribute("NAME"))%> </td> <td width="12%"><a class="main1" href="new.htm"></a></td> </tr> <tr> <td height="5" colspan="2" bgcolor="#A3BED9"></td> </tr> <tr> <td height="1" colspan="2" bgcolor="#0A1870"></td> </tr> </table></td> </tr> <tr> <td><table width="90%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#0A1870"> <tr> <td><table width="100%" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="FFFFFF" bgcolor="E7F2FF" class="main1"> <tr bgcolor="#FFFFFF" class="title_s"> <td width="10%" height="20"><div align="center">出錯(cuò)報(bào)告</div></td> </tr> <tr> <td height="20"><p> 系統(tǒng)報(bào)錯(cuò),可能原因有:<br> 1.你沒有該模塊的使用權(quán)限<br> 2.用戶登錄超時(shí)或尚未登陸,請(qǐng)<a onclick="parent.location='../main/exit.jsp'" style="cursor:hand;"><font color=blue><U>重新登陸>></U></font></a><br><br><hr><%out.println("要執(zhí)行到模塊為:"+temp);out.println("<br><br>人員編號(hào):"+uid);out.println("<br><br>人員編號(hào)-角色編號(hào)對(duì)應(yīng)表:"+StaticBean.role);out.println("<br><br>角色編號(hào)-權(quán)限對(duì)應(yīng)表:"+StaticBean.right);out.println("<br><br>"+go);%></p> </td> </tr> </table></td> </tr> </table></td> </tr></table></body></html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -