• 大小: 285KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-12
  • 语言: Java
  • 标签: 购物网  java源码  

资源简介

这是一个不错的购物网源码,java手写,内容丰富,值得一看

资源截图

代码片段和文件信息

//这是一个model 完成得到一个数据库的链接
package com.shopping.model;

import java.sql.Connection;
import java.sql.DriverManager;

public class ConnDB {

private Connection ct=null;

public Connection getConn()
{
try {
Class.forName(“com.microsoft.jdbc.sqlserver.SQLServerDriver“);
ct=DriverManager.getConnection(“jdbc:microsoft:sqlserver://localhost:1433;databaseName=shopdb““sa““hbj“);
} catch (Exception e) {
// TODO: handle exception
e.printStackTrace();
} finally
{
}
return ct;
}
}

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

     文件       1418  2011-05-19 09:07  TestShopping\.project

     文件       1360  2011-05-29 17:15  TestShopping\src\com\shopping\model\GoodsBean.java

     文件        542  2011-05-29 17:11  TestShopping\src\com\shopping\model\ConnDB.java

     文件       3116  2011-05-29 22:29  TestShopping\src\com\shopping\model\GoodsBeanBO.java

     文件       2847  2011-05-31 00:18  TestShopping\src\com\shopping\model\MyCartBO.java

     文件       1408  2011-05-31 22:29  TestShopping\src\com\shopping\model\UserBean.java

     文件       1909  2011-06-01 10:31  TestShopping\src\com\shopping\model\UserBeanBO.java

     文件       1033  2011-06-02 10:59  TestShopping\src\com\shopping\model\OrderBean.java

     文件       2600  2011-06-02 12:51  TestShopping\src\com\shopping\model\OrderBeanBO.java

     文件        501  2011-06-02 11:01  TestShopping\src\com\shopping\model\OrderDetailBean.java

     文件       2372  2011-06-02 12:40  TestShopping\src\com\shopping\model\OrderInfoBean.java

     文件       2414  2011-05-30 21:16  TestShopping\src\com\shopping\servlet\ShowGoodsClServlet.java

     文件       3048  2011-05-30 23:50  TestShopping\src\com\shopping\servlet\ShoppingClServlet.java

     文件       2062  2011-06-02 12:27  TestShopping\src\com\shopping\servlet\ShoppingCl2.java

     文件       2359  2011-06-02 12:23  TestShopping\src\com\shopping\servlet\LoginCl.java

     文件       2228  2011-06-02 12:51  TestShopping\src\com\shopping\servlet\OrderClServlet.java

     文件       2152  2011-06-24 09:46  TestShopping\WebRoot\WEB-INF\classes\com\shopping\servlet\ShowGoodsClServlet.class

     文件       3158  2011-06-24 09:46  TestShopping\WebRoot\WEB-INF\classes\com\shopping\servlet\ShoppingClServlet.class

     文件       1752  2011-06-24 09:46  TestShopping\WebRoot\WEB-INF\classes\com\shopping\servlet\ShoppingCl2.class

     文件       2572  2011-06-24 09:46  TestShopping\WebRoot\WEB-INF\classes\com\shopping\servlet\OrderClServlet.class

     文件       2495  2011-06-24 09:46  TestShopping\WebRoot\WEB-INF\classes\com\shopping\servlet\LoginCl.class

     文件       2728  2011-06-24 09:46  TestShopping\WebRoot\WEB-INF\classes\com\shopping\model\UserBeanBO.class

     文件       2093  2011-06-24 09:46  TestShopping\WebRoot\WEB-INF\classes\com\shopping\model\UserBean.class

     文件       3354  2011-06-24 09:46  TestShopping\WebRoot\WEB-INF\classes\com\shopping\model\OrderInfoBean.class

     文件        909  2011-06-24 09:46  TestShopping\WebRoot\WEB-INF\classes\com\shopping\model\OrderDetailBean.class

     文件       4104  2011-06-24 09:46  TestShopping\WebRoot\WEB-INF\classes\com\shopping\model\OrderBeanBO.class

     文件       1632  2011-06-24 09:46  TestShopping\WebRoot\WEB-INF\classes\com\shopping\model\OrderBean.class

     文件       4398  2011-06-24 09:46  TestShopping\WebRoot\WEB-INF\classes\com\shopping\model\MyCartBO.class

     文件       3555  2011-06-24 09:46  TestShopping\WebRoot\WEB-INF\classes\com\shopping\model\GoodsBeanBO.class

     文件       1955  2011-06-24 09:46  TestShopping\WebRoot\WEB-INF\classes\com\shopping\model\GoodsBean.class

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

评论

共有 条评论