private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {return _jspx_dependants;}
publicvoid_jspInit()_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.wupin.getName());}public void _jspDestroy() {}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {PageContext pageContext = null;
HttpSession session = null;ServletContext application = null;
ServletConfig config = null;JspWriter out = null;
Object page = this;JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {response.setContentType("text/html;charset=GB2312");
pageContext = _jspxFactory.getPageContext(this, request, response,null, true, 8192, true);_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();_jspx_out = out
out.write('\r');out.write('\n');
if(session.getAttribute("sysuser_id")==null||session.getAttribute("sysuser_id").toString().length()==0)response.sendRedirect(request.getContextPath()+"/login.jsp");
out.write("\r\n");out.write("<html>\r\n");out.write("<head>\r\n");
out.write("<title>库存管理系统</title>\r\n");out.write("</head>\r\n"); out.write("<framesetframespacing=\"1\"rows=\"69,*\"frameborder=\"0\"name=\"all\">\r\n");
out.write(" <frame name=\"banner\" scrolling=\"no\" noresize target=\"contents\" src=\"banner.htm\">\r\n");out.write(" <frameset cols=\"178,*\">\r\n");
out.write(" <frame name=\"menu\" target=\"main\" src=\"menu.jsp\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" noresize>\r\n");
out.write(" <frame src=\"firstPage.jsp\" name=\"main\" scrolling=\"auto\">\r\n");
out.write(" </frameset>\r\n");out.write(" <noframes>\r\n");
out.write(" <body>\r\n");out.write(" </body>\r\n");
out.write(" </noframes>\r\n");out.write("</frameset>\r\n");out.write("</html>\r\n");
} catch (Throwable t) {if (!(t instanceof SkipPageException)){out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);}
} finally {_jspxFactory.releasePageContext(_jspx_page_context);}}}
****************************************
public final wupin menu_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {return _jspx_dependants;}
public void _jspInit() {_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.wupin.getName());}public void _jspDestroy() {}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
PageContext pageContext = null;HttpSession session = null;
ServletContext application = null;ServletConfig config = null;
JspWriter out = null;Object page = this;JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {response.setContentType("text/html;charset=GB2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();_jspx_out = out;
out.write("\r\n");out.write("\r\n");
//-------接收输入参数------------
int sysuser_id=0;int sysuser_role=0;ResultSet rs=null;
try{sysuser_id=Integer.parseInt((String)session.getAttribute("sysuser_id"));}catch(Exception e){}user_operation uop=new user_operation();
rs=uop.getUserByPrimKey(sysuser_id);String sysuser_name=null;int rowCount=0;
try{rs.next();rowCount=1;}catch(Exception e){}
if(rowCount!=0){sysuser_role=rs.getInt("sysuser_role");sysuser_name=rs.getString("sysuser_name");}
out.write("\r\n");out.write("<html>\r\n");
out.write("<body leftMargin=\"0\" topMargin=\"0\" marginheight=\"0\" marginwidth=\"0\" bgcolor=\"#DCDADA\">\r\n");
out.write("<table border=\"0\" width=\"90%\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
out.write(" <tr>\r\n");out.write(" <td> </td>\r\n");
out.write(" <td align=\"center\"> </td>\r\n");
out.write(" </tr>\r\n");out.write(" <tr>\r\n");
out.write(" \t<td> </td>\r\n");out.write(" <td align=\"left\">欢迎您:");
out.print(sysuser_name);out.write("</td>\r\n");out.write(" </tr>\r\n");
out.write(" <tr>\r\n");out.write(" <td> </td>\r\n");
out.write(" <td align=\"left\">您的角色:\r\n");out.write(" ");
if(sysuser_role==1) out.print("系统管理员");if(sysuser_role==2) out.print("管理员");
if(sysuser_role==3) out.print("高级用户");if(sysuser_role==4) out.print("普通用户");
out.write("\r\n");out.write(" </td>\r\n");out.write(" </tr>\r\n");
out.write(" \r\n");out.write(" <tr>\r\n");out.write(" <td> </td>\r\n");
out.write(" <td align=\"center\"> </td>\r\n");
out.write(" </tr>\r\n");out.write(" ");
if(sysuser_role==1||sysuser_role==2){out.write("\r\n");out.write(" <tr>\r\n");
out.write(" <td> </td>\r\n");out.write(" <td align=\"left\">\r\n");
out.write(" t<font color=\"#CC6600\"><u>基础数据管理</u></font>\r\n");
out.write("<li><a href=\"yonghuman/yonghuman.jsp\" target=\"main\">高级用户信息管理</a></li><br>\r\n");
out.write("<li><a href=\"wupin/wupin.jsp\" target=\"main\">物品信息管理</a></li><br>\r\n");
out.write(" <li><a href=\"ptyonghuman/ptyonghuman.jsp\" target=\"main\">普通用户信息管理</a></li> <br>\r\n");out.write(" </td>\r\n");
out.write(" </tr>\r\n");out.write(" ");}out.write("\r\n");out.write(" ");
if(sysuser_role==1||sysuser_role==2){out.write("\r\n");
out.write(" <tr>\r\n");out.write(" <td> </td>\r\n");
out.write(" <td align=\"left\">\r\n")
out.write("\r\n");out.write(" ");
if(sysuser_role==1||sysuser_role==2||sysuser_role==3){
out.write("\r\n");out.write(" <tr>\r\n");out.write(" <td> </td>\r\n");
out.write(" <td align=\"left\">\r\n");
out.write(" \t<font color=\"#CC6600\"><u>成绩录入</font></u>\r\n");
out.write(" \t<li><a href=\"core/core_add.jsp\" target=\"main\">普通用户成绩录入</a></li><br>\r\n");out.write(" \t<br>\r\n");out.write(" </td>\r\n");
out.write(" </tr>\r\n");out.write(" ");}out.write("\r\n");out.write(" ");
if(sysuser_role==1||sysuser_role==2||sysuser_role==3||sysuser_role==4){
out.write("\r\n");out.write(" <tr>\r\n");out.write(" <td> </td>\r\n");
out.write(" <td align=\"left\">\r\n");
out.write(" \t<li><a href=\"core/ptyonghu_core_view.jsp\" target=\"main\">普通用户查询</a></li><br>\r\n");out.write(" \t<br>\r\n");out.write(" </td>\r\n");
out.write(" </tr>\r\n");out.write(" ");}
out.write("\r\n");out.write(" <tr>\r\n");out.write(" <td> </td>\r\n");
out.write(" <td align=\"left\">\r\n");
out.write(" \t<font color=\"#CC6600\"><u>系统管理</u></font>\r\n");
out.write(" \t");if(sysuser_role==1){out.write("\r\n");
out.write(" \t<li><a href=\"user/auto_gen_user.jsp\" target=\"main\">自动生成系统用户</a></li><br>\r\n");
out.write(" \t<li><a href=\"user/hand_gen_user.jsp\" target=\"main\">手工生成系统用户</a></li><br>\r\n");out.write(" \t");}
out.write("\r\n");out.write(" \t");
if(sysuser_role==1||sysuser_role==2||sysuser_role==3||sysuser_role==4){out.write
out.write("</html>");} catch (Throwable t) {
if (!(t instanceof SkipPageException)){out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);}} finally {_jspxFactory.releasePageContext(_jspx_page_context);}}}
<< 上一页 [11] [12] [13] [14] 下一页