java无线点餐_【SSH + BootStrap】实现的无线点餐系统

大二那会学习java学web的时候折腾了一个简单的无线点餐系统,cms形式的一个简单网站。

现在马上大四了,一年多没搞这方面发现东西忘得还真快,整理一下,顺便开源了。

mad.gif

1.简介

后端基于spring, struts1和hibernate,前台用bootstrap实现。

实现的功能也比较少,基本的crud操作,文件上传,ajax异步刷新等。

关于bootstrap的学习,请移步

2.代码结构和类图结构

5ce8f7b5c6d8497cf909b3510b5ab1b0.png

b08f4b7211a7a224e2e1ddae10ad951b.png

3 applicationContext.xml配置文件

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:context="http://www.springframework.org/schema/context"

xmlns:tx="http://www.springframework.org/schema/tx"

xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd

http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd

http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">

com/wireless/entity/hbm/Usertbl.hbm.xml

com/wireless/entity/hbm/Menutypetbl.hbm.xml

com/wireless/entity/hbm/Tabletbl.hbm.xml

com/wireless/entity/hbm/Menutbl.hbm.xml

com/wireless/entity/hbm/Ordertbl.hbm.xml

com/wireless/entity/hbm/Orderdetailtbl.hbm.xml

org.hibernate.dialect.MySQLDialect

update

true

true

org.hibernate.cache.EhCacheProvider

true

4 源码下载

使用的话需要先创建数据库wireless,将sql文件导入数据库,然后修改上面的application.xml中数据库的配置参数

5 效果展示

460a80c3d053857d874ad5e5eb64259a.png

e88ebe12298555614b98419d19b817a7.png

9b0732eb60b3e77e191679076e6ecc8a.png

199a06264abd1bdb4f07d3e826771d22.png

35cad88580a893ba267adfc95aafb497.png

2b5946aa0a4a702a4ccc5a2a6500887c.png

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值