diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/.keep" "b/\346\272\220\344\273\243\347\240\201/WebRoot/.keep" deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/META-INF/MANIFEST.MF" "b/\346\272\220\344\273\243\347\240\201/WebRoot/META-INF/MANIFEST.MF" new file mode 100644 index 0000000000000000000000000000000000000000..5e9495128c0376427420c4189993b3851770b702 --- /dev/null +++ "b/\346\272\220\344\273\243\347\240\201/WebRoot/META-INF/MANIFEST.MF" @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: + diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/classes/c3p0-config.xml" "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/classes/c3p0-config.xml" new file mode 100644 index 0000000000000000000000000000000000000000..b4483f216d18285d96b92f05949e7858d764db13 --- /dev/null +++ "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/classes/c3p0-config.xml" @@ -0,0 +1,26 @@ + + + + com.mysql.cj.jdbc.Driver + jdbc:mysql://192.168.153.128:3306/test1?serverTimezone=GMT&useUnicode=true&characterEncoding=utf-8&useSSL=false + root + 123456 + 10 + 30 + 100 + 10 + 200 + + + com.mysql.cj.jdbc.Driver + jdbc:mysql://192.168.153.128:3306/test1?serverTimezone=GMT&useUnicode=true&characterEncoding=utf-8&useSSL=false + root + 123456 + 10 + 30 + 100 + 10 + 200 + + + \ No newline at end of file diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/classes/dbconfig.properties" "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/classes/dbconfig.properties" new file mode 100644 index 0000000000000000000000000000000000000000..ef5da4935613f765336c96e6a6833c4b634c983f --- /dev/null +++ "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/classes/dbconfig.properties" @@ -0,0 +1,5 @@ +mysql.driverClass= com.mysql.cj.jdbc.Driver +mysql.url=jdbc:mysql://192.168.153.128:3306/test1?serverTimezone=GMT&useUnicode=true&characterEncoding=utf-8&useSSL=false +mysql.name=root +mysql.pwd=123456 + diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/c3p0-0.9.1.2-jdk1.3.jar" "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/c3p0-0.9.1.2-jdk1.3.jar" new file mode 100644 index 0000000000000000000000000000000000000000..719814ac89c1954e9e6e640091ae757f3a001fbb Binary files /dev/null and "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/c3p0-0.9.1.2-jdk1.3.jar" differ diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/c3p0-0.9.1.2.jar" "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/c3p0-0.9.1.2.jar" new file mode 100644 index 0000000000000000000000000000000000000000..0f42d60e316c0cb25c8a24b6c2b20918b132fd1d Binary files /dev/null and "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/c3p0-0.9.1.2.jar" differ diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/c3p0-oracle-thin-extras-0.9.1.2.jar" "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/c3p0-oracle-thin-extras-0.9.1.2.jar" new file mode 100644 index 0000000000000000000000000000000000000000..b103f66c33425d4b9fd69d5b618c003368bfd368 Binary files /dev/null and "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/c3p0-oracle-thin-extras-0.9.1.2.jar" differ diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/hamcrest-core-1.3.jar" "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/hamcrest-core-1.3.jar" new file mode 100644 index 0000000000000000000000000000000000000000..9d5fe16e3dd37ebe79a36f61f5d0e1a69a653a8a Binary files /dev/null and "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/hamcrest-core-1.3.jar" differ diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/junit-4.12.jar" "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/junit-4.12.jar" new file mode 100644 index 0000000000000000000000000000000000000000..3a7fc266c3e32283a2b21fe12166ebdcc33a1da1 Binary files /dev/null and "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/junit-4.12.jar" differ diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/mysql-connector-j-8.0.31.jar" "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/mysql-connector-j-8.0.31.jar" new file mode 100644 index 0000000000000000000000000000000000000000..8b74bb87b291fb3c72757ef817cd3f5c308d8d21 Binary files /dev/null and "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/lib/mysql-connector-j-8.0.31.jar" differ diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/web.xml" "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/web.xml" new file mode 100644 index 0000000000000000000000000000000000000000..d297f8cc6e31305471f8875150aceb881f65c1fc --- /dev/null +++ "b/\346\272\220\344\273\243\347\240\201/WebRoot/WEB-INF/web.xml" @@ -0,0 +1,66 @@ + + + UserManager3 + + LoginController + com.xxr.controller.LoginController + + + UserController + com.xxr.controller.UserController + + + Login + com.xxr.view.Login + + + Main + com.xxr.view.Main + + + RegisterController + com.xxr.controller.RegisterController + + + Register + com.xxr.view.Register + + + Manage + com.xxr.view.Manage + + + + LoginController + /LoginController + + + UserController + /UserController + + + Login + /Login + + + Main + /Main + + + RegisterController + /RegisterController + + + Register + /Register + + + Manage + /Manage + + + + + Login + + \ No newline at end of file diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/css/comm.css" "b/\346\272\220\344\273\243\347\240\201/WebRoot/css/comm.css" new file mode 100644 index 0000000000000000000000000000000000000000..4c137b018ee60b5d4a004c37ec9d62a788b23762 --- /dev/null +++ "b/\346\272\220\344\273\243\347\240\201/WebRoot/css/comm.css" @@ -0,0 +1,3 @@ +h1{ + color:green; +} \ No newline at end of file diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/css/manage.css" "b/\346\272\220\344\273\243\347\240\201/WebRoot/css/manage.css" new file mode 100644 index 0000000000000000000000000000000000000000..18a456d8840f6fb13dae89fc306fc7930d0882a8 --- /dev/null +++ "b/\346\272\220\344\273\243\347\240\201/WebRoot/css/manage.css" @@ -0,0 +1,5 @@ +.gray{ + text-decroation:none; + color:gray; + font-style:italic; +} \ No newline at end of file diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/css/mian.css" "b/\346\272\220\344\273\243\347\240\201/WebRoot/css/mian.css" new file mode 100644 index 0000000000000000000000000000000000000000..6dd4846cfeee84cc8d4c9d7a5deb82cbcd3402bb --- /dev/null +++ "b/\346\272\220\344\273\243\347\240\201/WebRoot/css/mian.css" @@ -0,0 +1,3 @@ +a{ + text-decoration:none; +} \ No newline at end of file diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/imgs/conch.gif" "b/\346\272\220\344\273\243\347\240\201/WebRoot/imgs/conch.gif" new file mode 100644 index 0000000000000000000000000000000000000000..fdbc9c31cc6fe4bed8f55122a5d04960cdcdf2df Binary files /dev/null and "b/\346\272\220\344\273\243\347\240\201/WebRoot/imgs/conch.gif" differ diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/imgs/fish.gif" "b/\346\272\220\344\273\243\347\240\201/WebRoot/imgs/fish.gif" new file mode 100644 index 0000000000000000000000000000000000000000..b32fd9c2e656f67c86af66e64c7a1525127221d6 Binary files /dev/null and "b/\346\272\220\344\273\243\347\240\201/WebRoot/imgs/fish.gif" differ diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/js/1.js" "b/\346\272\220\344\273\243\347\240\201/WebRoot/js/1.js" new file mode 100644 index 0000000000000000000000000000000000000000..57435187d563b1141a7cf7cd6e3dab4b7f0c289b --- /dev/null +++ "b/\346\272\220\344\273\243\347\240\201/WebRoot/js/1.js" @@ -0,0 +1,24 @@ +function init(pageNum,lastPageNum){ + + var first = document.getElementById("first"); + var prev = document.getElementById("prev"); + var next = document.getElementById("next"); + var end = document.getElementById("end"); + + if(pageNum==1){ + first.href="javascript:void(0);" + prev.href="javascript:void(0);" + + first.className="gray"; + prev.className="gray"; + } + + if(pageNum==lastPageNum){ + next.href="javascript:void(0);" + end.href="javascript:void(0);" + + next.className="gray"; + end.className="gray"; + } + +} \ No newline at end of file diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/login.html" "b/\346\272\220\344\273\243\347\240\201/WebRoot/login.html" new file mode 100644 index 0000000000000000000000000000000000000000..c2f1b4bb03d7e9073c68065d50a1b5c7b9d00a09 --- /dev/null +++ "b/\346\272\220\344\273\243\347\240\201/WebRoot/login.html" @@ -0,0 +1,25 @@ + + + + hello + + + + + + + + + + +

用户登录

+
+ +
+ +
+ + +
+ + diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/main.html" "b/\346\272\220\344\273\243\347\240\201/WebRoot/main.html" new file mode 100644 index 0000000000000000000000000000000000000000..ee0143d11a1771cb9b6c5e45c29098077c4cb15c --- /dev/null +++ "b/\346\272\220\344\273\243\347\240\201/WebRoot/main.html" @@ -0,0 +1,17 @@ + + + + successfully + + + + + + + + + + +

登录成功,欢迎!

+ + diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/main2.html" "b/\346\272\220\344\273\243\347\240\201/WebRoot/main2.html" new file mode 100644 index 0000000000000000000000000000000000000000..290a1edf15d7a8da9a4dcab013792e1ea0313a3d --- /dev/null +++ "b/\346\272\220\344\273\243\347\240\201/WebRoot/main2.html" @@ -0,0 +1,17 @@ + + + + successfully + + + + + + + + + + +

注册成功!

+ + diff --git "a/\346\272\220\344\273\243\347\240\201/WebRoot/register.html" "b/\346\272\220\344\273\243\347\240\201/WebRoot/register.html" new file mode 100644 index 0000000000000000000000000000000000000000..07318176c903c7421cabb1f5581e283845d9b342 --- /dev/null +++ "b/\346\272\220\344\273\243\347\240\201/WebRoot/register.html" @@ -0,0 +1,42 @@ + + + + 注册页面 + + + + + + + + + + +

用户注册

+
+