文档介绍:中文摘要
现今网络技术日趋成熟,网上购物正悄然兴起并正在被广大消费者迅速接受。网上购物系统在此期间应运而生,它通过网络服务器为分布在全国各城市的顾客提供购买商品的服务。从销售商来看,由于在价格上省去了实体店铺的租金、水电、人工等成本,网上购物的商品价格更低,提高了销售商的竞争力。从顾客购买过程来看,网上购物能够降低搜寻成本,便于消费者对产品的挑选和价格比较。
网上购物系统的主要内容是,一方面让销售商把商品发布于网络,一方面让消费者通过网络来完成商品的交易。系统总体分成前台和后台两大模块,前台是用户模块,后台是管理员模块。实现的功能,首先系统向用户列出网站的商品信息。其次当顾客登录网上购物系统后,为每个用户分配一个购物车,用户选择商品后,商品会被放入购物车。再次,用户确认购物车信息,点击提交生成订单。最后,管理员对订单进行处理,即完成一次商品交易。
系统实现按照MVC设计模式。采用JSP技术作视图层,Struts技术作控制层,Hibernate,JDBC技术作模型层。采用MVC设计模型,增加了系统的可拓展性与可维护性,便于开发的补充,维护。
关键词 JSP;Struts;Hibernate;MVC
Online Shopping
Author: LiangJianjun Tutor: BaiShangwang
ABSTRACT
Nowadays the network technology has a gradual maturity, online shopping is quietly emerging and is being quickly accepted by a lot of people. Online shopping system came into being during this period. It provides service for the customers through a web server. For the vendors, the entities shops rent, utilities, wages will save a lot of money, so the products have a lower price, and make it more competitive. For the customers, online shopping can reduce search costs on selecting product and comparing price of products.
To be done by the system one is that the products are published on the Internet by vendors, other is that customers buy goods to complete the transaction through the network. So the system is divided into two modules. One is the foreground and other is the background .The foreground is user module, the background is the administrator modules. System firstly lists products information to customers by administrator. Secondly when customers log in to the system, the system distributes a shopping cart for each customer and goods will be put into the shopping cart after customer selecting products. Thirdly, the customers click to generate order when they checked cart’s information. Finally, the administrator to deal with goods according to order.
System is designed according to the MVC mode. JSP technology used for the view layer, Struts tec