• 大小: 2.12MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-05
  • 标签: shoppingbook  

资源简介

网上书城源码,jsp+servlet实现,界面美观,很产品化!

资源截图

代码片段和文件信息

package com.lovo.cq.shopping10_1.common;

import java.sql.*;

public class DbUtil {

private PreparedStatement pstmt = null;

private Connection con = null;

public DbUtil() {
try {
Class.forName(“com.mysql.jdbc.Driver“);
con = DriverManager.getConnection(“jdbc:mysql://localhost/ShoppingBook10_1“
“root“ “root“);;
} catch (ClassNotFoundException e) {
e.printStackTrace();
} catch (SQLException e) {
e.printStackTrace();
}
}

public Connection getCon() {
return con;
}

public void close() {
if (pstmt != null) {
try {
pstmt.close();
} catch (SQLException e) {
e.printStackTrace();
}
}
if (con != null) {
try {
con.close();
} catch (SQLException e) {
e.printStackTrace();
}
}
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        340  2009-07-30 21:24  ShoppingBook10_1\.classpath

     文件        322  2009-07-30 21:24  ShoppingBook10_1\.mymetadata

     文件       1234  2009-07-30 21:24  ShoppingBook10_1\.project

     文件       1040  2009-07-30 21:24  ShoppingBook10_1\.settings\com.genuitec.eclipse.j2eedt.core.prefs

     文件        802  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\common\DbUtil.java

     文件        547  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\AdminBookDao.java

     文件        416  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\AdminInformDao.java

     文件        208  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\AdminLoginDao.java

     文件        279  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\AdminNoteDao.java

     文件        906  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\AdminOrderDao.java

     文件         81  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\AdminOrderItem.java

     文件         84  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\AdminOrderItemDao.java

     文件         79  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\AdminSubType.java

     文件        312  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\AdminSubTypeDao.java

     文件         81  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\AdminSuperType.java

     文件        298  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\AdminSuperTypeDao.java

     文件        371  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\AdminUserDao.java

     文件       1832  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\BookDao.java

     文件        287  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\InformDao.java

     文件        373  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\OrderDao.java

     文件        182  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\SubTypeDao.java

     文件        154  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\SuperTypeDao.java

     文件       1317  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\dao\UserDao.java

     文件       8552  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\daoimpl\AdminBookDaoImpl.java

     文件       4744  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\daoimpl\AdminInformDaoImpl.java

     文件       1926  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\daoimpl\AdminLoginDaoImpl.java

     文件       3318  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\daoimpl\AdminNoteDaoImpl.java

     文件      12656  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\daoimpl\AdminOrderDaoImpl.java

     文件       2505  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\daoimpl\AdminSubTypeDaoImpl.java

     文件       2439  2009-07-30 21:24  ShoppingBook10_1\src\com\lovo\cq\shopping10_1\daoimpl\AdminSuperTypeDaoImpl.java

............此处省略651个文件信息

评论

共有 条评论

相关资源