java与MySQL做购物系统_基于java和MySQL的购物系统源代码

本文介绍了一个基于Java和MySQL构建的基础购物系统,涵盖了用户注册、登录、商品浏览、分类查询、购物车及购买流程等功能。提供源代码结构包括action、dao、service等模块,并附带数据库脚本。
摘要由CSDN通过智能技术生成

【实例简介】

是一个很实用很基础的的购物系统,包含注册,登录,查看商品,分类查询,购物车,购买商品等功能

【实例截图】

【核心代码】

ShoppingSystem

└── ShoppingSystem

├── src

│   ├── action

│   │   ├── LoginAction.java

│   │   ├── LoginOut.java

│   │   └── RegisterAction.java

│   ├── applicationContext.xml

│   ├── Application_en_US.properties

│   ├── Application_ja.properties

│   ├── Application.properties

│   ├── Application_zh_CN.properties

│   ├── dao

│   │   ├── CartDAO.java

│   │   ├── OrdersDAO.java

│   │   ├── ProductInfoDAO.java

│   │   ├── ProductSortDAO.java

│   │   ├── UserDAOImpl.java

│   │   └── UserDAO.java

│   ├── database

│   │   └── shopping.sql

│   ├── domain

│   │   ├── Cart.java

│   │   ├── cartvo.hbm.xml

│   │   ├── CartVo.java

│   │   ├── ordersvo.hbm.xml

│   │   ├── OrdersVo.java

│   │   ├── productinfovo.hbm.xml

│   │   ├── ProductInfoVo.java

│   │   ├── productsortvo.hbm.xml

│   │   ├── ProductSortVo.java

│   │   ├── uservo.hbm.xml

│   │   └── UserVo.java

│   ├── filter

│   │   └── CharacterEncodingFilter.java

│   ├── service

│   │   ├── CartService.java

│   │   ├── OrdersService.java

│   │   ├── ProductInfoService.java

│   │   ├── ProductSortService.java

│   │   ├── UserServiceImpl.java

│   │   └── UserService.java

│   ├── struts.properties

│   └── struts.xml

└── WebRoot

├── content.html

├── foot.html

├── head.html

├── image

│   ├── background.jpg

│   ├── body_bg.gif

│   ├── foot.png

│   ├── head.jpg

│   ├── item.png

│   └── navigation.png

├── index.html

├── META-INF

│   └── MANIFEST.MF

├── navigation.html

├── productImages

│   ├── commodity10.jpg

│   ├── commodity1.jpg

│   ├── commodity2.jpg

│   ├── commodity3.jpg

│   ├── commodity4.jpg

│   ├── commodity5.jpg

│   ├── commodity6.jpg

│   ├── commodity7.jpg

│   ├── commodity8.jpg

│   └── commodity9.jpg

├── showProduct.jsp

└── WEB-INF

├── classes

│   ├── action

│   │   ├── LoginAction.class

│   │   ├── LoginOut.class

│   │   └── RegisterAction.class

│   ├── applicationContext.xml

│   ├── Application_en_US.properties

│   ├── Application_ja.properties

│   ├── Application.properties

│   ├── Application_zh_CN.properties

│   ├── dao

│   │   ├── CartDAO.class

│   │   ├── OrdersDAO.class

│   │   ├── ProductInfoDAO.class

│   │   ├── ProductSortDAO.class

│   │   ├── UserDAO.class

│   │   └── UserDAOImpl.class

│   ├── database

│   │   └── shopping.sql

│   ├── domain

│   │   ├── Cart.class

│   │   ├── CartVo.class

│   │   ├── cartvo.hbm.xml

│   │   ├── OrdersVo.class

│   │   ├── ordersvo.hbm.xml

│   │   ├── ProductInfoVo.class

│   │   ├── productinfovo.hbm.xml

│   │   ├── ProductSortVo.class

│   │   ├── productsortvo.hbm.xml

│   │   ├── UserVo.class

│   │   └── uservo.hbm.xml

│   ├── filter

│   │   └── CharacterEncodingFilter.class

│   ├── service

│   │   ├── CartService.class

│   │   ├── OrdersService.class

│   │   ├── ProductInfoService.class

│   │   ├── ProductSortService.class

│   │   ├── UserService.class

│   │   └── UserServiceImpl.class

│   ├── struts.properties

│   └── struts.xml

├── lib

│   ├── activation.jar

│   ├── antlr-2.7.6rc1.jar

│   ├── asm-2.2.2.jar

│   ├── c3p0-0.9.0.jar

│   ├── cglib-2.1.3.jar

│   ├── cglib-2.2_beta1.jar

│   ├── commons-attributes-api.jar

│   ├── commons-attributes-compiler.jar

│   ├── commons-beanutils.jar

│   ├── commons-codec.jar

│   ├── commons-collections.jar

│   ├── commons-dbcp.jar

│   ├── commons-digester.jar

│   ├── commons-discovery.jar

│   ├── commons-fileupload.jar

│   ├── commons-httpclient.jar

│   ├── commons-io.jar

│   ├── commons-javaflow.jar

│   ├── commons-lang.jar

│   ├── commons-logging-1.0.4.jar

│   ├── commons-logging.jar

│   ├── commons-pool.jar

│   ├── commons-validator-1.3.0.jar

│   ├── commons-validator.jar

│   ├── concurrent-1.3.2.jar

│   ├── connector.jar

│   ├── dom4j-1.6.1.jar

│   ├── dwr.jar 2.0.jar

│   ├── ehcache-1.1.jar

│   ├── freemarker-2.3.8.jar

│   ├── hibernate3.jar

│   ├── jaas.jar

│   ├── jacc-1_0-fr.jar

│   ├── jaxen-1.1-beta-7.jar

│   ├── jaxrpc.jar

│   ├── jboss-cache.jar

│   ├── jboss-common.jar

│   ├── jboss-jmx.jar

│   ├── jboss-system.jar

│   ├── jdbc2_0-stdext.jar

│   ├── jgroups-2.2.8.jar

│   ├── jsf-api.jar

│   ├── jsf-impl.jar

│   ├── jstl-1.2.jar

│   ├── jstl.jar

│   ├── jta.jar

│   ├── junit.jar

│   ├── log4j-1.2.11.jar

│   ├── log4j-1.2.14.jar

│   ├── mail.jar

│   ├── mysql-connector-java-5.0.8-bin.jar

│   ├── ognl-2.6.11.jar

│   ├── oscache-2.1.jar

│   ├── persistence.jar

│   ├── proxool-0.8.3.jar

│   ├── servlet-api.jar

│   ├── spring-beans.jar

│   ├── spring-context.jar

│   ├── spring-core.jar

│   ├── spring-dao.jar

│   ├── spring-hibernate3.jar

│   ├── spring-ibatis.jar

│   ├── spring.jar

│   ├── spring-jdbc.jar

│   ├── spring-jdo.jar

│   ├── spring-jpa.jar

│   ├── spring-mock.jar

│   ├── spring-toplink.jar

│   ├── standard.jar

│   ├── struts2-core-2.0.11.jar

│   ├── struts2-spring-plugin-2.0.11.jar

│   ├── struts.jar

│   ├── swarmcache-1.0rc2.jar

│   ├── xml-apis.jar

│   └── xwork-2.0.4.jar

└── web.xml

21 directories, 169 files

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值