上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: 本文地址:http://www.cnblogs.com/maplefighting/p/7544483.html 删除可以分为单个删除和批量删除 一、单个删除 employeeController.java /** * 删除员工 * @param id * @return */ @ResponseB 阅读全文
posted @ 2017-09-19 16:50 maplefighting 阅读(2616) 评论(0) 推荐(0) 编辑
摘要: 本文地址:http://www.cnblogs.com/maplefighting/p/7522985.html 首先呢,点击修改要有个修改的模态框,和添加的差不多,用户名不能修改 <!-- 员工修改模态框 --> <!-- Modal --> <div class="modal fade" id= 阅读全文
posted @ 2017-09-17 23:24 maplefighting 阅读(2711) 评论(0) 推荐(0) 编辑
摘要: 本问地址:http://www.cnblogs.com/maplefighting/p/7521944.html 地球人都知道,仅仅前台校验是不靠谱的,完整的校验应该包括前端,后端和数据库的校验 支持JSR303校验需要导入,maven仓库搜下,用的是5.4.1,导入到pom.xml中 然后就可以在 阅读全文
posted @ 2017-09-14 17:54 maplefighting 阅读(807) 评论(0) 推荐(0) 编辑
摘要: 本文地址:http://www.cnblogs.com/maplefighting/p/7513506.html jquery前端校验 要是每次校验都alert弹出窗就有点难看,所以我们可以用bootstrap里面的css样式 之前的模态框 <!-- 员工添加模态框 --> <!-- Modal - 阅读全文
posted @ 2017-09-13 23:56 maplefighting 阅读(2548) 评论(0) 推荐(0) 编辑
摘要: 本文地址:http://www.cnblogs.com/maplefighting/p/7506496.html 点新增按钮会出现新增的窗口,查询bootstrap文档的js里面有案例 表单的样例也可以参照css里面的 在index.jsp 的body最上面加上模态框 <!-- 员工添加模态框 -- 阅读全文
posted @ 2017-09-11 23:15 maplefighting 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 本文地址:http://www.cnblogs.com/maplefighting/p/7499338.html 上一篇只适用于浏览器,但是我们客户端等的解析就麻烦了 所以用Ajax请求会比较好,以json发送给客户端 index.jsp直接发送ajax请求进行员工分页数据的查询,服务器返回json 阅读全文
posted @ 2017-09-11 16:21 maplefighting 阅读(1313) 评论(0) 推荐(0) 编辑
摘要: 本文地址:http://www.cnblogs.com/maplefighting/p/7491866.html 一、引入bookstrap Bookstrap: http://www.bootcss.com/ 解压后,拷贝放到webapp/static下,然后引入,因为需要jquery,所以网上下 阅读全文
posted @ 2017-09-07 21:06 maplefighting 阅读(2418) 评论(9) 推荐(1) 编辑
摘要: 本文地址:http://www.cnblogs.com/maplefighting/p/7486781.html 以员工和部门表为例 一、mybatis生成代码 本来要写dao,bean,和mapper文件,但是使用mybatis逆向工程可以自动生成 http://www.mybatis.org/g 阅读全文
posted @ 2017-09-06 23:43 maplefighting 阅读(2451) 评论(0) 推荐(0) 编辑
摘要: 本文地址:http://www.cnblogs.com/maplefighting/p/7482549.html 可以安装spring ide,有些自动补全简单多了,配置地址: http://www.cnblogs.com/maplefighting/p/7481762.html 一、web.xml 阅读全文
posted @ 2017-09-05 23:32 maplefighting 阅读(5922) 评论(0) 推荐(0) 编辑
摘要: 本文地址:http://www.cnblogs.com/maplefighting/p/7481762.html 一、先看eclipse版本,help-->about eclipse里面有(我的是4.7.0) 然后去 http://spring.io/tools/sts/all 找到对应的版本 二、 阅读全文
posted @ 2017-09-05 20:18 maplefighting 阅读(1264) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页