Initial commit
v1.0
done:
1.create member and insert into DB.(2013/06/25~2013/06/28)
2.catch exception detaily.
3.enquire member by muti contitions.
4.update member.
5.delete member.
6.Refining the construction of create/enquire/update/delete.
7.update environment.(2013/06/30)
8.move methods into com.wm.jar.
9.add com.wm.jar.(put it in PATH)(2013/07/01)
10.remove com.wm.jar and move methods into JavaBean.
11.remove JavaBean and add try creating member by DAO.(2013/07/02)
12.remove JavaBean and replace with DAO.
13.update environment in xp.(2013/07/18)
undone:
1.validate user input in create.jsp by JavaScript.(2013/06/25~2013/06/28)
2.validate user data in create_check.jsp.
3.validate user input in enquire.jsp by JavaScript.
4.validate user data in enquire_check.jsp.
5.validate user input in enquire.jsp by JavaScript.
6.validate user data(especially date) in update_detail.jsp.
7.validate user input in input pages(create/delete/update/enquire).
v1.1
done:
1.create member and insert into DB.(2013/06/25~2013/06/28)
2.catch exception detaily.
3.enquire member by muti contitions.
4.update member.
5.delete member.
6.Refining the construction of create/enquire/update/delete.
7.update environment.(2013/06/30)
8.move methods into com.wm.jar.
9.add com.wm.jar.(put it in PATH)(2013/07/01)
10.remove com.wm.jar and move methods into JavaBean.
11.remove JavaBean and add try creating member by DAO.(2013/07/02)
12.remove JavaBean and replace with DAO.
13.update environment in xp.(2013/07/18)
14.using ${} to display data after enquiry.(2013/07/19)
15.Refining the construction of enquiry.
undone:
1.validate user input in create.jsp by JavaScript.(2013/06/25~2013/06/28)
2.validate user data in create_check.jsp.
3.validate user input in enquire.jsp by JavaScript.
4.validate user data in enquire_check.jsp.
5.validate user input in enquire.jsp by JavaScript.
6.validate user data(especially date) in update_detail.jsp.
7.validate user input in input pages(create/delete/update/enquire).
v2.0
done:
1.create member and insert into DB.(2013/06/25~2013/06/28)
2.catch exception detaily.
3.enquire member by muti contitions.
4.update member.
5.delete member.
6.Refining the construction of create/enquire/update/delete.
7.update environment.(2013/06/30)
8.move methods into com.wm.jar.
9.add com.wm.jar.(put it in PATH)(2013/07/01)
10.remove com.wm.jar and move methods into JavaBean.
11.remove JavaBean and add try creating member by DAO.(2013/07/02)
12.remove JavaBean and replace with DAO.
13.update environment in xp.(2013/07/18)
14.using ${} to display data after enquiry.(2013/07/19)
15.Refining the construction of enquiry.
16.Rebuilding the construction of enquire/delete/create/update(2013/07/21)
undone:
1.validate user input in create.jsp by JavaScript.(2013/06/25~2013/06/28)
2.validate user data in create_check.jsp.
3.validate user input in enquire.jsp by JavaScript.
4.validate user data in enquire_check.jsp.
5.validate user input in enquire.jsp by JavaScript.
6.validate user data(especially date) in update_detail.jsp.
7.validate user input in input pages(create/delete/update/enquire).
v2.1
done:
1.create member and insert into DB.(2013/06/25~2013/06/28)
2.catch exception detaily.
3.enquire member by muti contitions.
4.update member.
5.delete member.
6.Refining the construction of create/enquire/update/delete.
7.update environment.(2013/06/30)
8.move methods into com.wm.jar.
9.add com.wm.jar.(put it in PATH)(2013/07/01)
10.remove com.wm.jar and move methods into JavaBean.
11.remove JavaBean and add try creating member by DAO.(2013/07/02)
12.remove JavaBean and replace with DAO.
13.update environment in xp.(2013/07/18)
14.using ${} to display data after enquiry.(2013/07/19)
15.Refining the construction of enquiry.
16.Rebuilding the construction of enquire/delete/create/update(2013/07/21)
17.Add request and session listener to hr.(2013/07/22)
undone:
1.validate user input in create.jsp by JavaScript.(2013/06/25~2013/06/28)
2.validate user data in create_check.jsp.
3.validate user input in enquire.jsp by JavaScript.
4.validate user data in enquire_check.jsp.
5.validate user input in enquire.jsp by JavaScript.
6.validate user data(especially date) in update_detail.jsp.
7.validate user input in input pages(create/delete/update/enquire).
v2.2
done:
1.create member and insert into DB.(2013/06/25~2013/06/28)
2.catch exception detaily.
3.enquire member by muti contitions.
4.update member.
5.delete member.
6.Refining the construction of create/enquire/update/delete.
7.update environment.(2013/06/30)
8.move methods into com.wm.jar.
9.add com.wm.jar.(put it in PATH)(2013/07/01)
10.remove com.wm.jar and move methods into JavaBean.
11.remove JavaBean and add try creating member by DAO.(2013/07/02)
12.remove JavaBean and replace with DAO.
13.update environment in xp.(2013/07/18)
14.using ${} to display data after enquiry.(2013/07/19)
15.Refining the construction of enquiry.
16.Rebuilding the construction of enquire/delete/create/update(2013/07/21)
17.Add request and session listener to hr.(2013/07/22)
18.using servlet in enquiry to enquire member list and search member
detail.
undone:
1.validate user input in create.jsp by JavaScript.(2013/06/25~2013/06/28)
2.validate user data in create_check.jsp.
3.validate user input in enquire.jsp by JavaScript.
4.validate user data in enquire_check.jsp.
5.validate user input in enquire.jsp by JavaScript.
6.validate user data(especially date) in update_detail.jsp.
7.validate user input in input pages(create/delete/update/enquire).
v3.0
done:
1.create member and insert into DB.(2013/06/25~2013/06/28)
2.catch exception detaily.
3.enquire member by muti contitions.
4.update member.
5.delete member.
6.Refining the construction of create/enquire/update/delete.
7.update environment.(2013/06/30)
8.move methods into com.wm.jar.
9.add com.wm.jar.(put it in PATH)(2013/07/01)
10.remove com.wm.jar and move methods into JavaBean.
11.remove JavaBean and add try creating member by DAO.(2013/07/02)
12.remove JavaBean and replace with DAO.
13.update environment in xp.(2013/07/18)
14.using ${} to display data after enquiry.(2013/07/19)
15.Refining the construction of enquiry.
16.Rebuilding the construction of enquire/delete/create/update(2013/07/21)
17.Add request and session listener to hr.(2013/07/22)
18.using servlet in enquiry to enquire member list and search member detail.
19.move common codes into 'all' folder,as a result,reduce codes in /create/enquire/delete/update as much as possible.(2013/07/27)

undone:
1.validate user input in create.jsp by JavaScript.(2013/06/25~2013/06/28)
2.validate user data in create_check.jsp.
3.validate user input in enquire.jsp by JavaScript.
4.validate user data in enquire_check.jsp.
5.validate user input in enquire.jsp by JavaScript.
6.validate user data(especially date) in update_detail.jsp.
7.validate user input in input pages(create/delete/update/enquire).
done:
1.create member and insert into DB.(2013/06/25~2013/06/28)
2.catch exception detaily.
3.enquire member by muti contitions.
4.update member.
5.delete member.
6.Refining the construction of create/enquire/update/delete.
7.update environment.(2013/06/30)
8.move methods into com.wm.jar.
9.add com.wm.jar.(put it in PATH)(2013/07/01)
10.remove com.wm.jar and move methods into JavaBean.
11.remove JavaBean and add try creating member by DAO.(2013/07/02)
12.remove JavaBean and replace with DAO.
13.update environment in xp.(2013/07/18)
14.using ${} to display data after enquiry.(2013/07/19)
15.Refining the construction of enquiry.
16.Rebuilding the construction of enquire/delete/create/update(2013/07/21)
17.Add request and session listener to hr.(2013/07/22)
18.using servlet in enquiry to enquire member list and search member detail.
19.move common codes into 'all' folder,as a result,reduce codes in /create/enquire/delete/update as much as possible.(2013/07/27)
20.add filter to make true that the user who do not log in system is denied to access any resource except login resources.(2013/07/27)
21.other small changes.
undone:
1.validate user input in create.jsp by JavaScript.(2013/06/25~2013/06/28)
2.validate user data in create_check.jsp.
3.validate user input in enquire.jsp by JavaScript.
4.validate user data in enquire_check.jsp.
5.validate user input in enquire.jsp by JavaScript.
6.validate user data(especially date) in update_detail.jsp.
7.validate user input in input pages(create/delete/update/enquire).
v5.0
done:
1.create member and insert into DB.(2013/06/25~2013/06/28)
2.catch exception detaily.
3.enquire member by muti contitions.
4.update member.
5.delete member.
6.Refining the construction of create/enquire/update/delete.
7.update environment.(2013/06/30)
8.move methods into com.wm.jar.
9.add com.wm.jar.(put it in PATH)(2013/07/01)
10.remove com.wm.jar and move methods into JavaBean.
11.remove JavaBean and add try creating member by DAO.(2013/07/02)
12.remove JavaBean and replace with DAO.
13.update environment in xp.(2013/07/18)
14.using ${} to display data after enquiry.(2013/07/19)
15.Refining the construction of enquiry.
16.Rebuilding the construction of enquire/delete/create/update(2013/07/21)
17.Add request and session listener to hr.(2013/07/22)
18.using servlet in enquiry to enquire member list and search member detail.
19.move common codes into 'all' folder,as a result,reduce codes in /create/enquire/delete/update as much as possible.(2013/07/27)
20.add filter to make true that the user who do not log in system is denied to access any resource except login resources.(2013/07/27)
21.other small changes.
22.add cookie.(2013/07/30)
23.add validation in CreateServlet/UpdateServlet/DeleteServlet to avoid operating bad data.
undone:
1.validate user input in create.jsp by JavaScript.(2013/06/25~2013/06/28)
2.validate user data in create_check.jsp.
3.validate user input in enquire.jsp by JavaScript.
4.validate user data in enquire_check.jsp.
5.validate user input in enquire.jsp by JavaScript.
6.validate user data(especially date) in update_detail.jsp.
7.validate user input in input pages(create/delete/update/enquire).
v5.1
done:
1.create member and insert into DB.(2013/06/25~2013/06/28)
2.catch exception detaily.
3.enquire member by muti contitions.
4.update member.
5.delete member.
6.Refining the construction of create/enquire/update/delete.
7.update environment.(2013/06/30)
8.move methods into com.wm.jar.
9.add com.wm.jar.(put it in PATH)(2013/07/01)
10.remove com.wm.jar and move methods into JavaBean.
11.remove JavaBean and add try creating member by DAO.(2013/07/02)
12.remove JavaBean and replace with DAO.
13.update environment in xp.(2013/07/18)
14.using ${} to display data after enquiry.(2013/07/19)
15.Refining the construction of enquiry.
16.Rebuilding the construction of enquire/delete/create/update(2013/07/21)
17.Add request and session listener to hr.(2013/07/22)
18.using servlet in enquiry to enquire member list and search member detail.
19.move common codes into 'all' folder,as a result,reduce codes in /create/enquire/delete/update as much as possible.(2013/07/27)
20.add filter to make true that the user who do not log in system is denied to access any resource except login resources.(2013/07/27)
21.other small changes.
22.add cookie.(2013/07/30)
23.add validation in CreateServlet/UpdateServlet/DeleteServlet to avoid operating bad data.
24.add login_error.jsp.
25.change main page to index.jsp.
undone:
1.validate user input in create.jsp by JavaScript.(2013/06/25~2013/06/28)
2.validate user data in create_check.jsp.
3.validate user input in enquire.jsp by JavaScript.
4.validate user data in enquire_check.jsp.
5.validate user input in enquire.jsp by JavaScript.
6.validate user data(especially date) in update_detail.jsp.
7.validate user input in input pages(create/delete/update/enquire).
[2013/08/04]
更好的用户体验
问题：login.jsp通过cookie找userid和password显示在输入框里，导致如果cookie过期，此时用户访问login.jsp，结果就是，输入框就会是空的。解决方法：通过取保存在session的user这个attribute里面的userid和password，好处就是：即使保存在本地的cookie过期，只要用户登陆了系统，即使再次访问login.jsp，浏览器还是会显示出已登录用户的id+password。
[2013/08/04]
潜在的bug：
问题：遗留的代码，不会出错的原因是使用了客户端跳转--整个页面执行完毕后再会执行跳转，因为后面有一样的语句，所以在这个地方不会出错。
解决方法：注释掉。
[2013/08/04]
更好的用户体验：
问题：用户突然在地址栏中通过url的形式访问http://localhost:8080/hr/LoginServlet这个地址，该地址是普通用户在本地看不到的。
解决方法：加入else判断，即如果用户直接访问http://localhost:8080/hr/LoginServlet这个地址，重定向到login.jsp页面，该页面中有收集登陆信息的session，根据用户登陆与否决定是否显示用户名+密码。
[2013/08/04]
delete useless comment in EnquireServlet.
[2013/08/04]
更好的性能：
问题：由于form都是用post的方式传值，导致了如果像保存数值，就得频繁的向session中set attribute。
解决办法：涉及到查询的form用get的方式，涉及到create/update/delete，就用post方式。
Initial commit
Merge branch 'master' of https://github.com/maelwong/hr
Merge branch 'master' of https://github.com/JustT0/hr