{"push_id":811448882,"size":9,"distinct_size":1,"ref":"refs/heads/master","head":"2a6d84f1341a5fb08af97c3ef457f68cbe98bafe","before":"04496927284f71047fb9baa85f97aa32f09ec6c3","commits":[{"sha":"310f0907f7df19ff65087b5ce7676b3b35d42801","author":{"email":"f75c0589740cc460d4fe0e60a1ddc484b6d72f43@192.168.1.21","name":"zhantaojava"},"message":"1.controller中添加了新方法 \n2.getUser从前端拿到username， 通过返回一个跳转把值传给 另一个controller getUserProfile。\n3.getUserProfile拿到值以后处理，把返回值封装到modelAndView里返回给jsp页面\n4.RetrieveUser(int pageSize, int pageNow)则是拿到参数，并到数据库调取相应的data\n5.新增loginValidation控制器，若用户名密码验证成功，则跳转到RetrieveUser控制器\n6.同时保留login控制器。共有两种登陆方式，一种是直接从login验证密码后，跳到jsp页面，\n数据由jsp页面调用hibernateDao的方法得到，另一种是在RetrieveUser控制器中把数据准备好，\n通过ModelAndView 传值给jsp页面。jsp页面直接把数据显示出来","distinct":false,"url":"https://api.github.com/repos/zhantaojava/Web_System/commits/310f0907f7df19ff65087b5ce7676b3b35d42801"},{"sha":"f4e479d5b6b07c11dd5d9669cf4c1353fcb97f16","author":{"email":"f75c0589740cc460d4fe0e60a1ddc484b6d72f43@192.168.1.21","name":"zhantaojava"},"message":"update wel.jsp","distinct":false,"url":"https://api.github.com/repos/zhantaojava/Web_System/commits/f4e479d5b6b07c11dd5d9669cf4c1353fcb97f16"},{"sha":"5dea6389f849724acca635e77e7e2c4e8a0adb7c","author":{"email":"f75c0589740cc460d4fe0e60a1ddc484b6d72f43@192.168.1.21","name":"zhantaojava"},"message":"1. 在addUser 的 ModelAndView中 更改\nmv = new ModelAndView(\"redirect:retrieveUser\");\n可以实现跳转，retrieveUser的requestMethod必须为GET","distinct":false,"url":"https://api.github.com/repos/zhantaojava/Web_System/commits/5dea6389f849724acca635e77e7e2c4e8a0adb7c"},{"sha":"aee47245b97d0abb0fc13d8608abe125415b459e","author":{"email":"f75c0589740cc460d4fe0e60a1ddc484b6d72f43@192.168.1.21","name":"zhantaojava"},"message":"1.在userProfile.jsp中拿到当前的用户名 \n2.<a href=\"${user.getName()}/edit\">Edit Profile</a>\n需使用通配符 ${user.getName()} 才能把用户名传到控制器 \n建议用 \t ${user.getId()}以保证不拿到重名的用户","distinct":false,"url":"https://api.github.com/repos/zhantaojava/Web_System/commits/aee47245b97d0abb0fc13d8608abe125415b459e"},{"sha":"49be1aa4fa5a89d1780e40f02b133a856847879a","author":{"email":"f75c0589740cc460d4fe0e60a1ddc484b6d72f43@192.168.1.21","name":"zhantaojava"},"message":"1.built editUserProfile.jsp  fetch data from EditUserProfile Controller,\nand display it.\n2.add EditUserProfile controller,handle http request from\nuserProfile.jsp , then call the UserBeanProcess,do the business\nprocedure","distinct":false,"url":"https://api.github.com/repos/zhantaojava/Web_System/commits/49be1aa4fa5a89d1780e40f02b133a856847879a"},{"sha":"82d0d55fadf4595921cfe9f7d69d53558fdd16b9","author":{"email":"f75c0589740cc460d4fe0e60a1ddc484b6d72f43@192.168.1.21","name":"zhantaojava"},"message":"1.数据绑定终于搞定  \n2.Jsp 表单中的参数必须跟model类中的属性名一样，\n User class中: private String name;   private String pw;\n ---> Username:<input type=\"text\" name=\"name\">  name=必须为name\n ---> Password:<input type=\"text\" name=\"pw\">    name= 为 pw\n \n 3.新增UpdateUser controller 用于去数据库更新用户","distinct":false,"url":"https://api.github.com/repos/zhantaojava/Web_System/commits/82d0d55fadf4595921cfe9f7d69d53558fdd16b9"},{"sha":"905de7cc65a6cb165ed73bc5f2f5909e77b707dd","author":{"email":"f75c0589740cc460d4fe0e60a1ddc484b6d72f43@192.168.1.21","name":"zhantaojava"},"message":"1.Update Function upgreade ( 基于HQL）\n2.HiberanteDao add new update method\n3.UserBeanProcess add new update method\n4.controller add new UpdateUser, get ModelAttribute from jsp page,\nthen redirect to \"redirect:user/\" + user.getName()\n5.use {name} to redirect","distinct":false,"url":"https://api.github.com/repos/zhantaojava/Web_System/commits/905de7cc65a6cb165ed73bc5f2f5909e77b707dd"},{"sha":"37e2c0e85bb234a5eac2879dcefba4e442321041","author":{"email":"f75c0589740cc460d4fe0e60a1ddc484b6d72f43@192.168.1.21","name":"zhantaojava"},"message":"1.新增一些jsp页面的跳转按钮， 跳转回主页","distinct":false,"url":"https://api.github.com/repos/zhantaojava/Web_System/commits/37e2c0e85bb234a5eac2879dcefba4e442321041"},{"sha":"2a6d84f1341a5fb08af97c3ef457f68cbe98bafe","author":{"email":"f75c0589740cc460d4fe0e60a1ddc484b6d72f43@suzhantaos-MacBook-Pro.local","name":"zhantaojava"},"message":"Merge branch 'dev_updateUser_copy'","distinct":true,"url":"https://api.github.com/repos/zhantaojava/Web_System/commits/2a6d84f1341a5fb08af97c3ef457f68cbe98bafe"}]}