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

📄 _sjindex2__jsp.java

📁 此程序为免费版本,适用于个人和中小型企业站点
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
/*
 * JSP generated by Resin-3.0.8 (built Tue, 08 Jun 2004 02:25:40 PDT)
 */

package _jsp._sj;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
import java.sql.*;

public class _sjindex2__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
  {
    javax.servlet.http.HttpSession session = request.getSession(true);
    com.caucho.server.webapp.Application _jsp_application = _caucho_getApplication();
    javax.servlet.ServletContext application = _jsp_application;
    com.caucho.jsp.PageContextImpl pageContext = com.caucho.jsp.QJspFactory.allocatePageContext(this, _jsp_application, request, response, null, session, 8192, true);
    javax.servlet.jsp.JspWriter out = pageContext.getOut();
    javax.servlet.ServletConfig config = getServletConfig();
    javax.servlet.Servlet page = this;
    response.setContentType("text/html;charset=gb2312");
    request.setCharacterEncoding("GB2312");
    try {
      out.write(_jsp_string0, 0, _jsp_string0.length);
      Connection con;
Statement stmt;
ResultSet rs;
Class.forName("com.mysql.jdbc.Driver");
DriverManager.registerDriver(new com.mysql.jdbc.Driver());
String dbUrl="jdbc:mysql://localhost:3306/laba?useUnicode=true&characterEncoding=GB2312";
String dbUser="root";
String dbPwd="1982o7o9";
con=java.sql.DriverManager.getConnection(dbUrl,dbUser,dbPwd);
stmt=con.createStatement();

      out.write(_jsp_string1, 0, _jsp_string1.length);
      
String webname="\u4f01\u5bcc\u7f51"                              ; 
String WebUrl="http://www.qifo.com"                  ;
String serverEmail="finaler@163.com"                 ;
String servetel="13543040545"                        ;
String webfax=" 0756-2000000"                        ;
String webCompany="\u4f01\u5bcc\u6709\u9650\u516c\u53f8"                     ;
String address="\u5e7f\u4e1c\u7701\u73e0\u6d77\u5e02\u91d1\u9f0e\u5e72\u90e8\u697c3\u680b201"        ;
String webpost="519000"                              ;
String pat="1000\u5143\u4eba\u6c11\u5e01"                            ;
String QQ="780666"                                   ;
String adminname="\u6881\u5148\u751f"                            ;
String ver="V1.0\u7248"                                  ;
String banzu="finaler"                               ;
String banzuid="2"                               ;

      out.write(_jsp_string2, 0, _jsp_string2.length);
      out.print((webname));
      out.write(_jsp_string3, 0, _jsp_string3.length);
      String dfl=(String)request.getParameter("dfl");
  String lei=request.getParameter("lei");
      out.write(_jsp_string4, 0, _jsp_string4.length);
      out.print((dfl));
      out.write(_jsp_string5, 0, _jsp_string5.length);
      if(Integer.parseInt((String)lei)==0){
      out.write(_jsp_string6, 0, _jsp_string6.length);
      }
      out.write(_jsp_string7, 0, _jsp_string7.length);
      out.print((dfl));
      out.write(_jsp_string8, 0, _jsp_string8.length);
      if(Integer.parseInt((String)lei)==1){
      out.write(_jsp_string6, 0, _jsp_string6.length);
      }
      out.write(_jsp_string9, 0, _jsp_string9.length);
      out.print((dfl));
      out.write(_jsp_string10, 0, _jsp_string10.length);
      if(Integer.parseInt((String)lei)==2){
      out.write(_jsp_string6, 0, _jsp_string6.length);
      }
      out.write(_jsp_string11, 0, _jsp_string11.length);
      out.print((dfl));
      out.write(_jsp_string12, 0, _jsp_string12.length);
      if(Integer.parseInt((String)lei)==3){
      out.write(_jsp_string6, 0, _jsp_string6.length);
      }
      out.write(_jsp_string11, 0, _jsp_string11.length);
      out.print((dfl));
      out.write(_jsp_string13, 0, _jsp_string13.length);
      if(Integer.parseInt((String)lei)==4){
      out.write(_jsp_string6, 0, _jsp_string6.length);
      }
      out.write(_jsp_string11, 0, _jsp_string11.length);
      out.print((dfl));
      out.write(_jsp_string14, 0, _jsp_string14.length);
      int k=1;
rs=stmt.executeQuery("select * from shyfl where dfl='"+dfl+"'");
while(rs.next())
{
      out.write(_jsp_string15, 0, _jsp_string15.length);
      out.print((lei));
      out.write(_jsp_string16, 0, _jsp_string16.length);
      out.print((dfl));
      out.write(_jsp_string17, 0, _jsp_string17.length);
      out.print((rs.getString("sfl")));
      out.write(_jsp_string18, 0, _jsp_string18.length);
      out.print((rs.getString("sfl")));
      out.write(_jsp_string19, 0, _jsp_string19.length);
      out.print((lei));
      out.write(_jsp_string17, 0, _jsp_string17.length);
      out.print((rs.getString("sfl")));
      out.write(_jsp_string20, 0, _jsp_string20.length);
      if (k==4){k=1 ;
      out.write(_jsp_string21, 0, _jsp_string21.length);
      }else{
      k++ ;}
      out.write(_jsp_string22, 0, _jsp_string22.length);
      }
      out.write(_jsp_string23, 0, _jsp_string23.length);
      out.print((dfl));
      out.write(_jsp_string24, 0, _jsp_string24.length);
      if(Integer.parseInt((String)lei)==1){
      out.write(_jsp_string25, 0, _jsp_string25.length);
      }
      if(Integer.parseInt((String)lei)==2){
      out.write(_jsp_string26, 0, _jsp_string26.length);
      }
      if(Integer.parseInt((String)lei)==3){
      out.write(_jsp_string27, 0, _jsp_string27.length);
      }
      if(Integer.parseInt((String)lei)==4){
      out.write(_jsp_string28, 0, _jsp_string28.length);
      }
      out.write(_jsp_string29, 0, _jsp_string29.length);
      out.print((lei));
      out.write(_jsp_string16, 0, _jsp_string16.length);
      out.print((dfl));
      out.write(_jsp_string30, 0, _jsp_string30.length);
      out.print((dfl));
      out.write(_jsp_string31, 0, _jsp_string31.length);
      int i=1,q=1;
if(Integer.parseInt((String)lei)==0){
rs=stmt.executeQuery("select * from sjxx where dfl='"+dfl+"' and ok=1  order by id desc");
}else{
rs=stmt.executeQuery("select * from sjxx where  dfl='"+dfl+"' and lei='"+lei+"' and ok=1  order by id desc");
}
while(rs.next()&i<60){
i++ ;
      out.write(_jsp_string32, 0, _jsp_string32.length);
      out.print((rs.getString("id")));
      out.write(_jsp_string33, 0, _jsp_string33.length);
      out.print((rs.getString("topic")));
      out.write(_jsp_string34, 0, _jsp_string34.length);
      out.print((rs.getString("fbtime")));
      out.write(_jsp_string35, 0, _jsp_string35.length);
      if (q==2){q=1 ;
      out.write(_jsp_string36, 0, _jsp_string36.length);
      }else{
      q++ ;}
      out.write(_jsp_string22, 0, _jsp_string22.length);
      }
      out.write(_jsp_string37, 0, _jsp_string37.length);
      if ((String) session.getAttribute("Did")==null){
      out.write(_jsp_string38, 0, _jsp_string38.length);
      out.print((servetel));
      out.write(_jsp_string39, 0, _jsp_string39.length);
      out.print((QQ));
      out.write(_jsp_string40, 0, _jsp_string40.length);
      out.print((serverEmail));
      out.write('>');
      out.print((serverEmail));
      out.write(_jsp_string41, 0, _jsp_string41.length);
      out.print((address));
      out.write(_jsp_string42, 0, _jsp_string42.length);
      out.print((WebUrl));
      out.write(_jsp_string43, 0, _jsp_string43.length);
      out.print((webname));
      out.write(_jsp_string44, 0, _jsp_string44.length);
      out.print((WebUrl));
      out.write(_jsp_string45, 0, _jsp_string45.length);
      }else{
      out.write(_jsp_string46, 0, _jsp_string46.length);
      }
      out.write(_jsp_string22, 0, _jsp_string22.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 java.util.ArrayList _caucho_getDependList()
  {
    return _caucho_depends;
  }

  public void _caucho_addDepend(com.caucho.make.PersistentDependency depend)
  {
    super._caucho_addDepend(depend);
    _caucho_depends.add(depend);
  }

  public boolean _caucho_isModified()
  {
    if (_caucho_isDead)
      return true;
    if (com.caucho.util.CauchoSystem.getVersionId() != 1174304630)
      return true;

⌨️ 快捷键说明

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