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

📄 _index__jsp.java

📁 文章管理系统
💻 JAVA
字号:
/*
 * JSP generated by Resin-3.0.4 (built Thu, 06 Nov 2003 04:19:27 PST)
 */

package _webback._cata;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
import java.sql.*;
import java.util.*;
import hymn.web.*;
import hymn.database.DBConnect;
import hymn.util.*;

public class _index__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.PageContextImpl pageContext = com.caucho.jsp.QJspFactory.allocatePageContext(this, request, response, "../error.jsp", 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=GBK");
    request.setCharacterEncoding("GBK");
    try {
      out.write(_jsp_string0, 0, _jsp_string0.length);
      
String str=request.getParameter("typeid");

Admin.chkLogin(session,str+"_manage");

      out.write(_jsp_string1, 0, _jsp_string1.length);
      
String mingcheng,fcode;

if(request.getParameter("id")==null)
{
fcode="01";
}
else
{
fcode=request.getParameter("id");
}

      out.write(_jsp_string2, 0, _jsp_string2.length);
      out.print((Cata.codetodescription(fcode)));
      out.write(_jsp_string3, 0, _jsp_string3.length);
      out.print((fcode));
      out.write(_jsp_string4, 0, _jsp_string4.length);
      
DBConnect dbc = new DBConnect();
dbc.prepareStatement("Select * from tree where fcode=? order by code asc");
dbc.setString(1,fcode);
ResultSet rs = dbc.executeQuery();
chinese ut=new chinese();
while(rs.next())
{

      out.write(_jsp_string5, 0, _jsp_string5.length);
      out.print((ut.toch(rs.getString("description"))));
      out.write(_jsp_string6, 0, _jsp_string6.length);
      out.print((rs.getString("code")));
      out.write(_jsp_string7, 0, _jsp_string7.length);
      if (rs.getString("pptr").equals("1")){
      out.write(_jsp_string8, 0, _jsp_string8.length);
      } else {
      out.write(_jsp_string9, 0, _jsp_string9.length);
      }
      out.write(_jsp_string10, 0, _jsp_string10.length);
      out.print((rs.getString("code")));
      out.write(_jsp_string11, 0, _jsp_string11.length);
      out.print((ut.toch(rs.getString("description"))));
      out.write(_jsp_string12, 0, _jsp_string12.length);
      out.print((rs.getInt("id")));
      out.write(_jsp_string13, 0, _jsp_string13.length);
      out.print((fcode));
      out.write(_jsp_string14, 0, _jsp_string14.length);
      
}

      out.write(_jsp_string15, 0, _jsp_string15.length);
    } catch (java.lang.Throwable _jsp_e) {
      pageContext.handlePageException(_jsp_e);
    } finally {
      com.caucho.jsp.QJspFactory.freePageContext(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() != -1693742288)
      return true;
    for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
      com.caucho.make.Dependency depend;
      depend = (com.caucho.make.Dependency) _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);
    com.caucho.loader.DynamicClassLoader loader;
    loader = (com.caucho.loader.DynamicClassLoader) getClass().getClassLoader();
    String resourcePath = loader.getResourcePathSpecificFirst();
    mergePath.addClassPath(resourcePath);
    _caucho_line_map = new com.caucho.java.LineMap("_index__jsp.java", "foo");
    _caucho_line_map.add("/webback/cata/index.jsp", 5, 33);
    _caucho_line_map.add(31, 43);
    _caucho_line_map.add(43, 67);
    _caucho_line_map.add(50, 69);
    _caucho_line_map.add(64, 71);
    _caucho_line_map.add(75, 89);
    _caucho_line_map.add(76, 91);
    _caucho_line_map.add(77, 93);
    _caucho_line_map.add(77, 95);
    _caucho_line_map.add(77, 97);
    _caucho_line_map.add(78, 99);
    _caucho_line_map.add(78, 101);
    _caucho_line_map.add(79, 103);
    _caucho_line_map.add(79, 105);
    _caucho_line_map.add(83, 107);
    com.caucho.vfs.Depend depend;
    depend = new com.caucho.vfs.Depend(appDir.lookup("webback/cata/index.jsp"), "eCZidBqa7O8u0/zRbw3vug==", false);
    _caucho_depends.add(depend);
  }

  private final static char []_jsp_string7;
  private final static char []_jsp_string10;
  private final static char []_jsp_string12;
  private final static char []_jsp_string13;
  private final static char []_jsp_string15;
  private final static char []_jsp_string14;
  private final static char []_jsp_string4;
  private final static char []_jsp_string8;
  private final static char []_jsp_string6;
  private final static char []_jsp_string2;
  private final static char []_jsp_string5;
  private final static char []_jsp_string9;
  private final static char []_jsp_string1;
  private final static char []_jsp_string3;
  private final static char []_jsp_string0;
  private final static char []_jsp_string11;
  static {
    _jsp_string7 = "</td>\r\n		<td align=center>".toCharArray();
    _jsp_string10 = "</td>\r\n	<td align=center><a href=\"index.jsp?id=".toCharArray();
    _jsp_string12 = "\">\u8fdb\u5165</a></td>\r\n    <td align=center><INPUT TYPE=\"hidden\" name=\"id\" value=\"".toCharArray();
    _jsp_string13 = "\"><INPUT TYPE=\"hidden\" name=\"fcode\" value=\"".toCharArray();
    _jsp_string15 = "\r\n</table>\r\n<BR><BR>\r\n \u6ce8\u610f\uff1a\u5982\u679c\u680f\u76ee\u540d\u79f0\u4e3a\u7a7a\uff0c\u66f4\u6539\u5c06\u5220\u9664\u8be5\u680f\u76ee\u3002\r\n</body>\r\n</html>\r\n".toCharArray();
    _jsp_string14 = "\"><INPUT TYPE=\"submit\" value=\"\u66f4\u6539\"></td>\r\n    \r\n  </tr>\r\n  </form>\r\n ".toCharArray();
    _jsp_string4 = "\">\r\n        <input type=\"submit\" name=\"Submit\" value=\"\u589e\u52a0\u680f\u76ee\" onclick=\"return Checkvalue()\"></td>\r\n    </tr>\r\n  </table>\r\n</form>\r\n<table width=\"80%\" border=\"1\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"td6\">\r\n  <tr>\r\n    <td align=center bgcolor=#6699cc>\u680f\u76ee\u540d\u79f0</td>\r\n	<td align=center bgcolor=#6699cc>\u680f\u76ee\u552f\u4e00\u6807\u8bc6</td>\r\n	<td align=center bgcolor=#6699cc>\u662f\u5426\u6709\u5b50\u680f\u76ee</td>\r\n    <td align=center bgcolor=#6699cc>\u7ba1\u7406\u5b50\u680f\u76ee</td> \r\n	<td align=center bgcolor=#6699cc>\u66f4\u6539</td>\r\n\r\n	 </tr>\r\n".toCharArray();
    _jsp_string8 = "<SELECT NAME=\"pptr\"><option value=\"1\" selected>\u6709</option><option value=\"0\">\u65e0</option></SELECT>".toCharArray();
    _jsp_string6 = "\" size=30></td>\r\n	<td align=center>".toCharArray();
    _jsp_string2 = "\r\n<FONT SIZE=\"\" COLOR=\"#6600FF\">\u5f53\u524d\u7236\u680f\u76ee\uff1a".toCharArray();
    _jsp_string5 = "\r\n<form name=form3 action=\"edit.jsp\" method=\"post\">\r\n  <tr>\r\n    <td align=center><input type=\"text\" name=\"description\" value=\"".toCharArray();
    _jsp_string9 = "<SELECT NAME=\"pptr\"><option value=\"1\" >\u6709</option><option value=\"0\" selected>\u65e0</option></SELECT>".toCharArray();
    _jsp_string1 = "\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"../images/style.css\">\r\n<title>\u65e0\u6807\u9898\u6587\u6863</title>\r\n<SCRIPT language=javascript>\r\nfunction Checkvalue(){\r\n		if(document.form2.mingcheng.value==\"\"){\r\n		    alert(\"\u680f\u76ee\u540d\u79f0\u4e0d\u53ef\u4e3a\u7a7a\uff01\");\r\n		    document.form2.mingcheng.focus();                \r\n			return false;\r\n			}\r\n		\r\n     return true;\r\n	}\r\n</SCRIPT>\r\n</head>\r\n\r\n<body>\r\n\r\n<hr color=\"#006600\">\r\n".toCharArray();
    _jsp_string3 = "</FONT>\r\n<form name=\"form2\" method=\"post\" action=\"add.jsp\">\r\n  <table width=\"80%\" border=\"0\" align=\"center\" class=\"td6\">\r\n    <tr> \r\n      <td width=\"81%\" class=\"td8\">\u680f\u76ee\u540d\u79f0\uff1a \r\n        <input name=\"mingcheng\" type=\"text\" size=\"30\"></td>\r\n      <td width=\"19%\" class=\"td8\">\r\n<INPUT TYPE=\"hidden\" name=\"fcode\" value=\"".toCharArray();
    _jsp_string0 = "\r\n\r\n\r\n\r\n".toCharArray();
    _jsp_string11 = "&mingcheng=".toCharArray();
  }
}

⌨️ 快捷键说明

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