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

📄 _index__jsp.java

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

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

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
  {
    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);
      
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_string0, 0, _jsp_string0.length);
      if ((String) session.getAttribute("Did")==null){
      out.write(_jsp_string1, 0, _jsp_string1.length);
      out.print((webname));
      out.write(_jsp_string2, 0, _jsp_string2.length);
      if (request.getParameter("baar")==null){}else{
      out.write(_jsp_string3, 0, _jsp_string3.length);
      }
      out.write(_jsp_string4, 0, _jsp_string4.length);
      if (request.getParameter("baar")==null){}else{
      out.write(_jsp_string5, 0, _jsp_string5.length);
      }
      out.write(_jsp_string6, 0, _jsp_string6.length);
      if (request.getParameter("baae")==null){}else{
      out.write(_jsp_string3, 0, _jsp_string3.length);
      }
      out.write(_jsp_string7, 0, _jsp_string7.length);
      if (request.getParameter("baae")==null){}else{
      out.write(_jsp_string5, 0, _jsp_string5.length);
      }
      out.write(_jsp_string8, 0, _jsp_string8.length);
      }else{
      out.write(_jsp_string9, 0, _jsp_string9.length);
      out.print((webname));
      out.write(_jsp_string10, 0, _jsp_string10.length);
      out.print(((String) session.getAttribute("dldq")));
      out.write(_jsp_string11, 0, _jsp_string11.length);
      out.print(((String) session.getAttribute("dldq")));
      out.write(_jsp_string12, 0, _jsp_string12.length);
      if (request.getParameter("baar")==null){}else{
      out.write(_jsp_string3, 0, _jsp_string3.length);
      }
      out.write(_jsp_string4, 0, _jsp_string4.length);
      if (request.getParameter("baar")==null){}else{
      out.write(_jsp_string5, 0, _jsp_string5.length);
      }
      out.write(_jsp_string6, 0, _jsp_string6.length);
      if (request.getParameter("baae")==null){}else{
      out.write(_jsp_string3, 0, _jsp_string3.length);
      }
      out.write(_jsp_string7, 0, _jsp_string7.length);
      if (request.getParameter("baae")==null){}else{
      out.write(_jsp_string5, 0, _jsp_string5.length);
      }
      out.write(_jsp_string13, 0, _jsp_string13.length);
      }
      out.write(_jsp_string14, 0, _jsp_string14.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_string15, 0, _jsp_string15.length);
      
stmt = con.createStatement() ;
rs=stmt.executeQuery("SELECT * from job order by id desc");
String pages = request.getParameter("page") ;
int pageInt =  1 ,i=0 ,k=1;
if(pages==null){}else{pageInt = Integer.parseInt(pages);}
while(i<20*(pageInt-1)&&rs.next()){i++ ;}
i=0;
while(rs.next()&i<20){
i++ ;

      out.write(_jsp_string16, 0, _jsp_string16.length);
      out.print((rs.getString("id")));
      out.write(_jsp_string17, 0, _jsp_string17.length);
      out.print((rs.getString("topic")));
      out.write(_jsp_string18, 0, _jsp_string18.length);
      out.print((rs.getString("fbmemid")));
      out.write(_jsp_string19, 0, _jsp_string19.length);
      out.print((rs.getString("fbmemcompany")));
      out.write(_jsp_string20, 0, _jsp_string20.length);
      out.print((rs.getString("jobnum")));
      out.write(_jsp_string21, 0, _jsp_string21.length);
      out.print((rs.getString("jobaddress")));
      out.write(_jsp_string22, 0, _jsp_string22.length);
      out.print((rs.getString("fbtime")));
      out.write(_jsp_string23, 0, _jsp_string23.length);
      
}

⌨️ 快捷键说明

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