Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zhantaojava/Web_System
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dev_1.0
Choose a base ref
Loading
...
head repository: zhantaojava/Web_System
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Checking mergeability… Don’t worry, you can still create the pull request.
  • 20 commits
  • 17 files changed
  • 4 contributors

Commits on Sep 23, 2015

  1. 1.跳转功能正常

    2.userBeanProcess 正常工作
    3.login work
    zhantaojava committed Sep 23, 2015
    Configuration menu
    Copy the full SHA
    8920c73 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2015

  1. 1.Form method post,增加了信息量,并且隐藏了信息内容

    2.跳转后附带了error 信息
    zhantaojava committed Sep 24, 2015
    Configuration menu
    Copy the full SHA
    1403bd6 View commit details
    Browse the repository at this point in the history
  2. 1.实现了添加用户功能

    2.UserBeanProcess增加了AddUser method
    3.HibernateDao 增加了Add method
    
    用modelandview 实现了传递参数,并且在wel.jsp里用占位符把传递的参数显示出来
    zhantaojava committed Sep 24, 2015
    Configuration menu
    Copy the full SHA
    11f1126 View commit details
    Browse the repository at this point in the history
  3. 1.实现wel.jsp 展现视图功能

    2.更新了HibernateDao中 SearchPageCount(pageSize);
    zhantaojava committed Sep 24, 2015
    Configuration menu
    Copy the full SHA
    3656fa3 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2015

  1. update controller

    zhantaojava committed Sep 25, 2015
    Configuration menu
    Copy the full SHA
    58a5871 View commit details
    Browse the repository at this point in the history
  2. update Controller

    zhantaojava committed Sep 25, 2015
    Configuration menu
    Copy the full SHA
    28e1502 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2015

  1. 1.spring Di 完美实现

    2.dispatcher—servlet 中, component scan 添加需要扫描的包
    3.userbeanProcess 用annotation标注为component 
    4.LoginController中用autowired装配bean
    zhantaojava committed Sep 27, 2015
    Configuration menu
    Copy the full SHA
    0449692 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2015

  1. 1.controller中添加了新方法

    2.getUser从前端拿到username, 通过返回一个跳转把值传给 另一个controller getUserProfile。
    3.getUserProfile拿到值以后处理,把返回值封装到modelAndView里返回给jsp页面
    4.RetrieveUser(int pageSize, int pageNow)则是拿到参数,并到数据库调取相应的data
    5.新增loginValidation控制器,若用户名密码验证成功,则跳转到RetrieveUser控制器
    6.同时保留login控制器。共有两种登陆方式,一种是直接从login验证密码后,跳到jsp页面,
    数据由jsp页面调用hibernateDao的方法得到,另一种是在RetrieveUser控制器中把数据准备好,
    通过ModelAndView 传值给jsp页面。jsp页面直接把数据显示出来
    zhantaojava committed Sep 29, 2015
    Configuration menu
    Copy the full SHA
    310f090 View commit details
    Browse the repository at this point in the history
  2. update wel.jsp

    zhantaojava committed Sep 29, 2015
    Configuration menu
    Copy the full SHA
    f4e479d View commit details
    Browse the repository at this point in the history
  3. 1. 在addUser 的 ModelAndView中 更改

    mv = new ModelAndView("redirect:retrieveUser");
    可以实现跳转,retrieveUser的requestMethod必须为GET
    zhantaojava committed Sep 29, 2015
    Configuration menu
    Copy the full SHA
    5dea638 View commit details
    Browse the repository at this point in the history
  4. 1.在userProfile.jsp中拿到当前的用户名

    2.<a href="${user.getName()}/edit">Edit Profile</a>
    需使用通配符 ${user.getName()} 才能把用户名传到控制器 
    建议用 	 ${user.getId()}以保证不拿到重名的用户
    zhantaojava committed Sep 29, 2015
    Configuration menu
    Copy the full SHA
    aee4724 View commit details
    Browse the repository at this point in the history
  5. 1.built editUserProfile.jsp fetch data from EditUserProfile Controller,

    and display it.
    2.add EditUserProfile controller,handle http request from
    userProfile.jsp , then call the UserBeanProcess,do the business
    procedure
    zhantaojava committed Sep 29, 2015
    Configuration menu
    Copy the full SHA
    49be1aa View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2015

  1. 1.数据绑定终于搞定

    2.Jsp 表单中的参数必须跟model类中的属性名一样,
     User class中: private String name;   private String pw;
     ---> Username:<input type="text" name="name">  name=必须为name
     ---> Password:<input type="text" name="pw">    name= 为 pw
     
     3.新增UpdateUser controller 用于去数据库更新用户
    zhantaojava committed Sep 30, 2015
    Configuration menu
    Copy the full SHA
    82d0d55 View commit details
    Browse the repository at this point in the history
  2. 1.Update Function upgreade ( 基于HQL)

    2.HiberanteDao add new update method
    3.UserBeanProcess add new update method
    4.controller add new UpdateUser, get ModelAttribute from jsp page,
    then redirect to "redirect:user/" + user.getName()
    5.use {name} to redirect
    zhantaojava committed Sep 30, 2015
    Configuration menu
    Copy the full SHA
    905de7c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    37e2c0e View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2015

  1. Merge branch 'dev_updateUser_copy'

    zhantaojava authored and zhantaojava committed Oct 1, 2015
    Configuration menu
    Copy the full SHA
    2a6d84f View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2015

  1. 1.增加了主页

    2.更改了登录方式,主页-login.jsp-loginValidation Controller
    3.添加了邮件条目
    4.User model,user hbm.xml,HibernateDao的update方法里都要添加email相关方法和属性
    zhantaojava committed Oct 7, 2015
    Configuration menu
    Copy the full SHA
    c71810d View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2015

  1. 1.更新登录页面

    zhantaojava committed Oct 8, 2015
    Configuration menu
    Copy the full SHA
    7a84a21 View commit details
    Browse the repository at this point in the history
  2. 1.增加了testPage.jsp & TestController

    2.用于测试数据绑定
    3.dispatcher-servlet.xml 需要把component scan 加入 test包,mvc才能找到controller
    zhantaojava committed Oct 8, 2015
    Configuration menu
    Copy the full SHA
    b5c8912 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2015

  1. Configuration menu
    Copy the full SHA
    498ee57 View commit details
    Browse the repository at this point in the history
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.