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

📄 _assign__jsp.java

📁 JSP聊天系统
💻 JAVA
字号:
/*
 * JSP generated by Resin 2.1.2 (built Tue Jun 11 08:26:56 PDT 2002)
 */

package _news._admin._sys;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
import org.ehotsoft.yekki.sql.SQLFacade;
import org.ehotsoft.yekki.util.ParamUtil;
import java.sql.ResultSet;

public class _assign__jsp extends com.caucho.jsp.JavaPage{
  private boolean _caucho_isDead;
  
  public void
  _jspService(javax.servlet.http.HttpServletRequest request,
              javax.servlet.http.HttpServletResponse response)
    throws java.io.IOException, javax.servlet.ServletException
  {
    com.caucho.jsp.QPageContext pageContext = (com.caucho.jsp.QPageContext) com.caucho.jsp.QJspFactory.create().getPageContext(this, request, response, null, true, 8192, true);
    javax.servlet.jsp.JspWriter out = (javax.servlet.jsp.JspWriter) pageContext.getOut();
    javax.servlet.ServletConfig config = getServletConfig();
    javax.servlet.Servlet page = this;
    javax.servlet.http.HttpSession session = pageContext.getSession();
    javax.servlet.ServletContext application = pageContext.getServletContext();
    response.setContentType("text/html;charset=gb2312");
    request.setCharacterEncoding("GB2312");
    try {
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      
	SQLFacade facade = new SQLFacade();
	String sql = "select id, caption from tbl_sys_module order by id desc";
	String username = ParamUtil.getStringParameter( request, "username" );
	String password = ParamUtil.getStringParameter( request, "password" );
	ResultSet rstModule = facade.executeQuery( sql );
	ResultSet rstPriv = null;
	StringBuffer buf = null;

      pageContext.write(_jsp_string1, 0, _jsp_string1.length);
      out.print((username));
      pageContext.write(_jsp_string2, 0, _jsp_string2.length);
      out.print((password));
      pageContext.write(_jsp_string3, 0, _jsp_string3.length);
      
					while ( rstModule.next() ) {
				  
      pageContext.write(_jsp_string4, 0, _jsp_string4.length);
      out.print((rstModule.getString( "caption" )));
      pageContext.write(_jsp_string5, 0, _jsp_string5.length);
      
							sql = "select id, caption from tbl_sys_priv where module_id=" + rstModule.getString( "id" );
							
							rstPriv = facade.executeQuery( sql );
							while ( rstPriv.next() ) {
						
      pageContext.write(_jsp_string6, 0, _jsp_string6.length);
      out.print((rstPriv.getString( "id" )));
      pageContext.write(_jsp_string7, 0, _jsp_string7.length);
      out.print((rstPriv.getString( "caption" )));
      pageContext.write(_jsp_string8, 0, _jsp_string8.length);
      
							}
						
      pageContext.write(_jsp_string9, 0, _jsp_string9.length);
      
					}
					
					facade.close();
				 
      pageContext.write(_jsp_string10, 0, _jsp_string10.length);
      out.print((username));
      pageContext.write(_jsp_string11, 0, _jsp_string11.length);
      out.print((password));
      pageContext.write(_jsp_string12, 0, _jsp_string12.length);
    } catch (java.lang.Throwable _jsp_e) {
      pageContext.handlePageException(_jsp_e);
    } finally {
      JspFactory.getDefaultFactory().releasePageContext(pageContext);
    }
  }

  private com.caucho.java.LineMap _caucho_line_map;
  private java.util.ArrayList _caucho_depends = new java.util.ArrayList();

  public boolean _caucho_isModified()
  {
    if (_caucho_isDead)
      return true;
    if (com.caucho.util.CauchoSystem.getVersionId() != 2057024144)
      return true;
    for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
      com.caucho.vfs.Depend depend;
      depend = (com.caucho.vfs.Depend) _caucho_depends.get(i);
      if (depend.isModified())
        return true;
    }
    return false;
  }

  public long _caucho_lastModified()
  {
    return 0;
  }

  public com.caucho.java.LineMap _caucho_getLineMap()
  {
    return _caucho_line_map;
  }

  public void destroy()
  {
      _caucho_isDead = true;
      super.destroy();
  }

  public void init(com.caucho.java.LineMap lineMap,
                   com.caucho.vfs.Path appDir)
    throws javax.servlet.ServletException
  {
    com.caucho.vfs.Path resinHome = com.caucho.util.CauchoSystem.getResinHome();
    com.caucho.vfs.MergePath mergePath = new com.caucho.vfs.MergePath();
    mergePath.addMergePath(appDir);
    mergePath.addMergePath(resinHome);
    mergePath.addClassPath(getClass().getClassLoader());
    _caucho_line_map = new com.caucho.java.LineMap("_assign__jsp.java", "/test/news/admin/sys/assign.jsp");
    _caucho_line_map.add(4, 1);
    _caucho_line_map.add(1, 30);
    _caucho_line_map.add(31, 44);
    _caucho_line_map.add(31, 46);
    _caucho_line_map.add(38, 48);
    _caucho_line_map.add(43, 52);
    _caucho_line_map.add(47, 54);
    _caucho_line_map.add(53, 61);
    _caucho_line_map.add(54, 63);
    _caucho_line_map.add(55, 65);
    _caucho_line_map.add(61, 69);
    _caucho_line_map.add(76, 75);
    _caucho_line_map.add(77, 77);
    com.caucho.vfs.Depend depend;
    depend = new com.caucho.vfs.Depend(appDir.lookup("news/admin/sys/assign.jsp"), 1029040424462L, 3148L);
    _caucho_depends.add(depend);
  }

  private static byte []_jsp_string8;
  private static byte []_jsp_string12;
  private static byte []_jsp_string3;
  private static byte []_jsp_string4;
  private static byte []_jsp_string5;
  private static byte []_jsp_string11;
  private static byte []_jsp_string6;
  private static byte []_jsp_string9;
  private static byte []_jsp_string10;
  private static byte []_jsp_string1;
  private static byte []_jsp_string7;
  private static byte []_jsp_string0;
  private static byte []_jsp_string2;
  static {
    try {
      _jsp_string8 = " \r\n						".getBytes("GB2312");
      _jsp_string12 = "\">\r\n              <input type=\"hidden\" name=\"action\" value=\"add_user\">\r\n            </td>\r\n          </tr>\r\n        </table>\r\n      </td>\r\n    </tr>\r\n  </table>\r\n</form>\r\n</body>\r\n</html>\r\n".getBytes("GB2312");
      _jsp_string3 = "&nbsp;</td>\r\n          </tr>\r\n          <tr bgcolor=\"#FFFFFF\"> \r\n            <td>\r\n              <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#666666\">\r\n                <tr>\r\n                  <td>\r\n				  ".getBytes("GB2312");
      _jsp_string4 = "\r\n                    <table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\">\r\n                      <tr>\r\n                        <td><font color=\"#FFFFFF\"><b>".getBytes("GB2312");
      _jsp_string5 = "</b></font></td>\r\n                      </tr>\r\n                      <tr>\r\n                        <td bgcolor=\"#FFFFFF\"> \r\n                        ".getBytes("GB2312");
      _jsp_string11 = "\">\r\n              <input type=\"hidden\" name=\"password\" value=\"".getBytes("GB2312");
      _jsp_string6 = "\r\n                          <input type=\"checkbox\" name=\"priv_list\" value=\"".getBytes("GB2312");
      _jsp_string9 = "\r\n						</td>\r\n                      </tr>\r\n                    </table>\r\n				 ".getBytes("GB2312");
      _jsp_string10 = "\r\n                  </td>\r\n                </tr>\r\n              </table>\r\n            </td>\r\n          </tr>\r\n          <tr bgcolor=\"#FFFFFF\"> \r\n            <td align=\"center\">\r\n              <input type=\"button\" value=\" 上一步 \" onclick=\"javascript:{ history.go( -1 );}\">\r\n              <input type=\"submit\" value=\" 完 成 \">\r\n              <input type=\"reset\" value=\" 重 置 \">\r\n              <input type=\"hidden\" name=\"username\" value=\"".getBytes("GB2312");
      _jsp_string1 = "\r\n<html>\r\n<head>\r\n<title>无标题文档</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<link rel=\"stylesheet\" href=\"../css/style.css\" type=\"text/css\">\r\n</head>\r\n\r\n<body bgcolor=\"#FFFFFF\" text=\"#000000\" background=\"../images/background.gif\">\r\n<form name=\"\" method=\"post\" action=\"action.jsp\">\r\n  <table width=\"75%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" bgcolor=\"#666666\">\r\n    <tr> \r\n      <td> \r\n        <table width=\"100%\" border=\"0\" cellspacing=\"1\">\r\n          <tr> \r\n            <td><b><font color=\"#FFFFFF\">分配权限</font></b></td>\r\n          </tr>\r\n          <tr bgcolor=\"#FFFFFF\"> \r\n            <td>用户名:".getBytes("GB2312");
      _jsp_string7 = "\">\r\n                          ".getBytes("GB2312");
      _jsp_string0 = "\r\n".getBytes("GB2312");
      _jsp_string2 = " 密码:".getBytes("GB2312");
    } catch (java.io.UnsupportedEncodingException e) {
      e.printStackTrace();
    }
  }
}

⌨️ 快捷键说明

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