⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 modulelist_jsp.java

📁 tomcat最新安装程序
💻 JAVA
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import cn.com.aheadsoft.recordset.ModuleInfoRecordSet;
import java.util.*;

public class modulelist_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  public java.util.List getIncludes() {
    return _jspx_includes;
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html;charset=GB2312");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			"modulelist_error.jsp", true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");

 List userdata=(List)session.getAttribute("userdata") ;
 
 ModuleInfoRecordSet recordset=(ModuleInfoRecordSet)userdata.get(0);
 String obid =(String)userdata.get(1);
  String dpid =(String)userdata.get(2);
  

      out.write("\r\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\r\n");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"/krm/jsp/css/css.css\">\r\n");
      out.write("</head>\r\n");
      out.write("<body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" >\r\n");
      out.write("<table width=\"100%\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" >\r\n    ");
      out.write("<tr >\r\n    ");
      out.write("<td class=\"trA\">&nbsp;系统管理 >> 数据授权 >> 角色数据授权 >> ");
      out.write("<font class=\"fontcolor\">模块授权");
      out.write("</font>");
      out.write("</td> \r\n  ");
      out.write("</tr>\r\n  ");
      out.write("<tr height=\"8\">\r\n    ");
      out.write("<td>");
      out.write("</td>\r\n  ");
      out.write("</tr>\r\n  \r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td align=\"center\" >\r\n       ");
      out.write("<table border=\"0\" width=\"98%\" align=\"center\"  bordercolor=\"A1B7DB\" class=\"collapse\">\r\n          ");
      out.write("<tr > \r\n            ");
      out.write("<td class=\"tdA\" colspan=\"7\" >系统模块列表");
      out.write("</td>\r\n          ");
      out.write("</tr>\r\n       ");
 
	    int num=1;
		while(recordset.next()){ 
      out.write("\r\n        ");
      out.write("<tr ");

		if(num%2==0){
		
      out.write(" class=\"bgcolor\"");
}
      out.write(">\r\n          ");
      out.write("<td width=\"100%\" align=\"center\"  class=\"common\">");
      out.write("<a href=\"/krm/servlet/dataauthinfoservlet?status=ul&objectid=");
      out.print(obid);
      out.write("&dpid=");
      out.print(dpid);
      out.write("&moduleid=");
      out.print(recordset.getMI_ModuleID());
      out.write("\">");
      out.print(recordset.getMI_ModuleName());
      out.write(" \r\n            ");
      out.write("</a>");
      out.write("</td>\r\n        \r\n        ");
      out.write("</tr>\r\n      ");

	    num++;}
      out.write("\r\n\t\t");
      out.write("<tr>");
      out.write("<td colspan=\"6\" class=\"tdC\" align=\"center\">");
      out.write("<INPUT name=\"BtnBack\" type=\"button\"   onmouseover=\"this.className='button2'\" onmouseout=\"this.className='button1'\"  class=\"button1\" value=\"返 回\" onClick=\"history.back(1);\">");
      out.write("</td>\r\n\t\t");
      out.write("</tr>      \r\n        ");
      out.write("</table>\r\n\t\t");
      out.write("<br>\r\n   ");
      out.write("</td>\r\n");
      out.write("</tr>\t\r\n");
      out.write("</table>\r\n \r\n");
      out.write("</body>\r\n");
      out.write("</html>");
    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0)
        out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -