?? _indexdl__jsp.java
字號:
/*
* JSP generated by Resin-3.0.8 (built Tue, 08 Jun 2004 02:25:40 PDT)
*/
package _jsp._dl;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
import java.sql.*;
public class _indexdl__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);
if ((String) session.getAttribute("dlname")==null){
out.write(_jsp_string1, 0, _jsp_string1.length);
}
out.write(_jsp_string2, 0, _jsp_string2.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_string3, 0, _jsp_string3.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_string4, 0, _jsp_string4.length);
out.print((webname));
out.write(_jsp_string5, 0, _jsp_string5.length);
out.print(((String) session.getAttribute("dlid")));
out.write(_jsp_string6, 0, _jsp_string6.length);
out.print(((String) session.getAttribute("dlid")));
out.write(_jsp_string7, 0, _jsp_string7.length);
out.print(((String) session.getAttribute("dldq")));
out.write(_jsp_string8, 0, _jsp_string8.length);
out.print(((String) session.getAttribute("dlname")));
out.write(_jsp_string9, 0, _jsp_string9.length);
String dlid=(String) session.getAttribute("dlid");
int i=0 ;
out.write(_jsp_string10, 0, _jsp_string10.length);
stmt = con.createStatement() ;
rs=stmt.executeQuery("SELECT * from dlmsg where dlid='"+dlid+"' order by id desc");
while(rs.next()&i<20){
i++ ;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -