• 大小: 1.22MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-11
  • 语言: Java
  • 标签: 抽奖  

资源简介

java+jsp抽奖完整代码 适用公司年会和一些抽奖活动,非常灵活,易于修改

资源截图

代码片段和文件信息

package ni;
import java.sql.*;
public class Connect {
/*
 * public Connect() connect the database
 *  public setUrl ()set the Url
 *  public setPassword() set password
 *  public setUser() set user
 *  public Connect() set a connection between database and user Class.forName();
 *  public  ResultSet executeQuety();
 *  public void Update(); 
 */

public String driverName=“com.microsoft.jdbc.sqlserver.SQLServerDriver“;
//linux下中文乱码加连接&useUnicode=true&characterEncoding=GBK
//public String url=“jdbc:mysql://localhost:3306/mysql?autoReconnect=true&useUnicode=true&characterEncoding=GBK“;
public String url=“jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=czdbms“;

public String user=“admin“;
public String password=“admin“;

public Connection conn=null;
publ

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         618  2008-12-31 10:59  .classpath
     文件         849  2008-12-31 10:59  .project
     目录           0  2009-01-21 10:25  .settings\
     文件         454  2009-01-21 10:25  .settings\.jsdtscope
     文件         215  2009-01-02 12:20  .settings\org.eclipse.core.resources.prefs
     文件         330  2008-12-31 10:59  .settings\org.eclipse.jdt.core.prefs
     文件         364  2008-12-31 10:59  .settings\org.eclipse.jst.common.project.facet.core.prefs
     文件         436  2008-12-31 10:59  .settings\org.eclipse.wst.common.component
     文件         269  2008-12-31 10:59  .settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2009-01-21 10:25  .settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2009-01-21 10:25  .settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2009-01-21 10:26  build\
     目录           0  2009-01-21 10:26  build\classes\
     目录           0  2009-01-21 10:27  build\classes\ni\
     文件        4855  2009-01-22 16:05  build\classes\ni\Connect.class
     目录           0  2009-01-21 10:26  src\
     目录           0  2009-01-21 10:26  src\ni\
     文件        5269  2009-01-22 16:05  src\ni\Connect.java
     目录           0  2009-01-21 10:25  WebContent\
     目录           0  2009-01-21 10:26  WebContent\1\
     文件        3097  2009-01-02 09:37  WebContent\1.asp
     文件        1607  2009-01-05 17:52  WebContent\1.html
     文件       22226  2009-01-14 10:19  WebContent\1\0.swf
     文件       22310  2009-01-14 10:18  WebContent\1\1.swf
     文件       22319  2009-01-14 10:17  WebContent\1\2.swf
     文件       22322  2009-01-14 10:16  WebContent\1\3.swf
     文件       22329  2009-01-14 10:15  WebContent\1\4.swf
     文件       22330  2009-01-14 10:14  WebContent\1\5.swf
     文件       22338  2009-01-14 10:09  WebContent\1\6.swf
     文件       22339  2009-01-14 10:07  WebContent\1\7.swf
     文件       22340  2009-01-14 10:07  WebContent\1\8.swf
............此处省略64个文件信息

评论

共有 条评论