• 大小: 1.14M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-23
  • 语言: Java
  • 标签: 客户端  源码  

资源简介

高仿拉手网客户端源码,对提高开发能力很有帮助,并且附上服务器端源码

资源截图

代码片段和文件信息

package com.nick.ls.dao.impl;

import java.sql.DriverManager;
import java.sql.ResultSet;
import java.util.ResourceBundle;

import java.sql.Connection;
import java.sql.Statement;

public class baseDao {
private static String driver=“com.mysql.jdbc.Driver“;
private static String url=“jdbc:mysql://localhost:3306/ls?useUnicode=true&characterEncoding=utf8“;
private static String user=“root“;
private static String password=null;
static{
try {
//ResourceBundle bundle=ResourceBundle.getBundle(“/ls_server/src/config.properties“);
// String driver=bundle.getString(“com.mysql.jdbc.Driver“);

// password=bundle.getString(“password“);
  Class.forName(driver);
} catch (Exception e) {
}
}

protected Connection getConn() throws Exception{
return new Inn

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-06-15 19:02  ls_server1_6\
     文件         627  2015-01-27 22:18  ls_server1_6\.classpath
     文件         300  2015-02-16 08:52  ls_server1_6\.mymetadata
     文件        1415  2015-01-27 10:20  ls_server1_6\.project
     目录           0  2015-06-15 19:02  ls_server1_6\.settings\
     文件         500  2015-01-27 08:46  ls_server1_6\.settings\.jsdtscope
     文件         330  2015-01-27 08:46  ls_server1_6\.settings\org.eclipse.jdt.core.prefs
     文件          49  2015-01-27 08:46  ls_server1_6\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2015-01-27 08:46  ls_server1_6\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2015-06-15 19:02  ls_server1_6\WebRoot\
     目录           0  2015-06-15 19:02  ls_server1_6\WebRoot\meta-INF\
     文件          36  2015-01-27 08:46  ls_server1_6\WebRoot\meta-INF\MANIFEST.MF
     目录           0  2015-06-15 19:02  ls_server1_6\WebRoot\WEB-INF\
     目录           0  2015-06-15 19:02  ls_server1_6\WebRoot\WEB-INF\classes\
     目录           0  2015-06-15 19:02  ls_server1_6\WebRoot\WEB-INF\classes\com\
     目录           0  2015-06-15 19:02  ls_server1_6\WebRoot\WEB-INF\classes\com\nick\
     目录           0  2015-06-15 19:02  ls_server1_6\WebRoot\WEB-INF\classes\com\nick\ls\
     目录           0  2015-06-15 19:02  ls_server1_6\WebRoot\WEB-INF\classes\com\nick\ls\dao\
     目录           0  2015-06-15 19:02  ls_server1_6\WebRoot\WEB-INF\classes\com\nick\ls\dao\impl\
     文件        1457  2015-01-27 22:18  ls_server1_6\WebRoot\WEB-INF\classes\com\nick\ls\dao\impl\baseDao$Inner.class
     文件        1565  2015-01-27 22:18  ls_server1_6\WebRoot\WEB-INF\classes\com\nick\ls\dao\impl\baseDao.class
     文件         222  2015-01-27 22:18  ls_server1_6\WebRoot\WEB-INF\classes\com\nick\ls\dao\impl\CityDao.class
     文件        1978  2015-01-27 22:18  ls_server1_6\WebRoot\WEB-INF\classes\com\nick\ls\dao\impl\CityDaoImpl.class
     文件         293  2015-01-27 22:18  ls_server1_6\WebRoot\WEB-INF\classes\com\nick\ls\dao\impl\Dao.class
     文件         887  2015-02-01 09:40  ls_server1_6\WebRoot\WEB-INF\classes\com\nick\ls\dao\impl\GoodsDao.class
     文件       13172  2015-02-01 09:44  ls_server1_6\WebRoot\WEB-INF\classes\com\nick\ls\dao\impl\GoodsDaoImpl.class
     文件         216  2015-02-16 08:56  ls_server1_6\WebRoot\WEB-INF\classes\com\nick\ls\dao\impl\UserDao.class
     文件        3246  2015-02-16 09:07  ls_server1_6\WebRoot\WEB-INF\classes\com\nick\ls\dao\impl\UserDaoimpl.class
     目录           0  2015-06-15 19:02  ls_server1_6\WebRoot\WEB-INF\classes\com\nick\ls\enity\
     文件         890  2015-01-27 22:18  ls_server1_6\WebRoot\WEB-INF\classes\com\nick\ls\enity\City.class
     文件        4579  2015-01-27 22:18  ls_server1_6\WebRoot\WEB-INF\classes\com\nick\ls\enity\Goods.class
............此处省略45个文件信息

评论

共有 条评论