diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/1\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/1one.sql" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/1\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/1one.sql" new file mode 100644 index 0000000000000000000000000000000000000000..2cc0335265238f9e46f6677f5af008b69a20802e --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/1\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/1one.sql" @@ -0,0 +1,17 @@ +create table if not exists `one`( +`id` int(5), +`name` varchar(5), +`phone` int(20), +`sex` varchar(5) +`date` varchar(5), +)ENGINE INNODB CHARSET='gbk'; +insert into `one` values(1,"五五",123001,"女","十月"); +insert into `one` values(2,"圣诞",123002,"女","一月"); +insert into `one` values(3,"王而",123003,"男","六月"); +insert into `one` values(4,"张三",123004,"男","九月"); +insert into `one` values(5,"阿吧",123005,"女","三月"); + +select * from one; + +update one set name="五五" where name="女"; +update one set sex="女" where name="张三"; \ No newline at end of file diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/.gitignore" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..13566b81b018ad684f3a35fee301741b2734c8f4 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/.gitignore" @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/compiler.xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/compiler.xml" new file mode 100644 index 0000000000000000000000000000000000000000..30e2ddf65ec40352a0d33cdc0f6193dfd28bc92f --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/compiler.xml" @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/encodings.xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/encodings.xml" new file mode 100644 index 0000000000000000000000000000000000000000..aa00ffab7828f4818589659c804ec2cfd99baed3 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/encodings.xml" @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/jarRepositories.xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/jarRepositories.xml" new file mode 100644 index 0000000000000000000000000000000000000000..cce8e0f5ffcc4d6b1b9c5149eca38188dab4e1b1 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/jarRepositories.xml" @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/junitgenerator-prj-settings.xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/junitgenerator-prj-settings.xml" new file mode 100644 index 0000000000000000000000000000000000000000..9943a92a172412fd92832d2c65560d3ea5066241 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/junitgenerator-prj-settings.xml" @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/misc.xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/misc.xml" new file mode 100644 index 0000000000000000000000000000000000000000..79a352f1e92a127a65b42ab6185343abcbe656e0 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/.idea/misc.xml" @@ -0,0 +1,17 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/pom.xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/pom.xml" new file mode 100644 index 0000000000000000000000000000000000000000..d8275509e23c1072a4a0ec0e3f956f9307ffc612 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/pom.xml" @@ -0,0 +1,84 @@ + + + + 4.0.0 + + org.example + Spring1 + 1.0-SNAPSHOT + war + + Spring1 Maven Webapp + + http://www.example.com + + + UTF-8 + 1.7 + 1.7 + + + + + junit + junit + 4.11 + test + + + + org.springframework + spring-context + 5.3.18 + + + + org.springframework + spring-context + 5.3.18 + + + junit + junit + 4.12 + + + + + Spring1 + + + + maven-clean-plugin + 3.1.0 + + + + maven-resources-plugin + 3.0.2 + + + maven-compiler-plugin + 3.8.0 + + + maven-surefire-plugin + 2.22.1 + + + maven-war-plugin + 3.2.2 + + + maven-install-plugin + 2.5.2 + + + maven-deploy-plugin + 2.8.2 + + + + + diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/java/cn/tedu/spring/Acess.java" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/java/cn/tedu/spring/Acess.java" new file mode 100644 index 0000000000000000000000000000000000000000..53079d1555b567f38d3a558689eef901e5e91e26 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/java/cn/tedu/spring/Acess.java" @@ -0,0 +1,4 @@ +package cn.tedu.spring; + +public interface Acess { +} diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/java/cn/tedu/spring/Context.java" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/java/cn/tedu/spring/Context.java" new file mode 100644 index 0000000000000000000000000000000000000000..6c80103496631c653e96a4c016e0e8d25760ceac --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/java/cn/tedu/spring/Context.java" @@ -0,0 +1,40 @@ +package cn.tedu.spring; + +public class Context { + private Acess acess; + private Tiger tiger; + private Tom tom; + + public Acess getAcess() { + return acess; + } + + public void setAcess(Acess acess) { + this.acess = acess; + } + + public Tiger getTiger() { + return tiger; + } + + public void setTiger(Tiger tiger) { + this.tiger = tiger; + } + + public Tom getTom() { + return tom; + } + + public void setTom(Tom tom) { + this.tom = tom; + } + + @Override + public String toString() { + return "Context{" + + "acess=" + acess + + ", tiger=" + tiger + + ", tom=" + tom + + '}'; + } +} diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/java/cn/tedu/spring/Test01.java" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/java/cn/tedu/spring/Test01.java" new file mode 100644 index 0000000000000000000000000000000000000000..19582dd602687ee57c8f842498418d1f9004bb62 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/java/cn/tedu/spring/Test01.java" @@ -0,0 +1,25 @@ +package cn.tedu.spring; + +import org.junit.Test; +import org.springframework.context.ApplicationContext; +import org.springframework.context.support.ClassPathXmlApplicationContext; + +public class Test01 { + @Test + public void test01(){ + ApplicationContext ac=new ClassPathXmlApplicationContext("beans(byname).xml"); + Context context= (Context) ac.getBean("context"); + System.out.println(context); + ((ClassPathXmlApplicationContext)ac).close(); + } + + @Test + public void test02() { + + ApplicationContext ac=new ClassPathXmlApplicationContext("beans(bytype).xml"); + Context context= (Context) ac.getBean("context"); + System.out.println(context); + ((ClassPathXmlApplicationContext)ac).close(); + + } +} diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/java/cn/tedu/spring/Tiger.java" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/java/cn/tedu/spring/Tiger.java" new file mode 100644 index 0000000000000000000000000000000000000000..90b99c1aa44d4cf3ce73c7a1579814103b8fbf84 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/java/cn/tedu/spring/Tiger.java" @@ -0,0 +1,4 @@ +package cn.tedu.spring; + +public class Tiger implements Acess { +} diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/java/cn/tedu/spring/Tom.java" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/java/cn/tedu/spring/Tom.java" new file mode 100644 index 0000000000000000000000000000000000000000..431009168722a84410754160150fb51e54922f69 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/java/cn/tedu/spring/Tom.java" @@ -0,0 +1,4 @@ +package cn.tedu.spring; + +public class Tom implements Acess { +} diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/resources/beans(byname).xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/resources/beans(byname).xml" new file mode 100644 index 0000000000000000000000000000000000000000..d511d5dddb6c0c067c11167a5d600d3cf1a33fb2 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/resources/beans(byname).xml" @@ -0,0 +1,14 @@ + + + + + + + + + + + + \ No newline at end of file diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/resources/beans(bytype).xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/resources/beans(bytype).xml" new file mode 100644 index 0000000000000000000000000000000000000000..5af4f1194ba9ba8027d86f09c63be942028db0cd --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/resources/beans(bytype).xml" @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/webapp/WEB-INF/web.xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/webapp/WEB-INF/web.xml" new file mode 100644 index 0000000000000000000000000000000000000000..9f88c1f9632445500e3b3688fe477b860f77d8f2 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/webapp/WEB-INF/web.xml" @@ -0,0 +1,7 @@ + + + + Archetype Created Web Application + diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/webapp/index.jsp" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/webapp/index.jsp" new file mode 100644 index 0000000000000000000000000000000000000000..c38169bb958579c635a5c09ee2f379cc5956c0c2 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/src/main/webapp/index.jsp" @@ -0,0 +1,5 @@ + + +

Hello World!

+ + diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/beans(byname).xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/beans(byname).xml" new file mode 100644 index 0000000000000000000000000000000000000000..d511d5dddb6c0c067c11167a5d600d3cf1a33fb2 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/beans(byname).xml" @@ -0,0 +1,14 @@ + + + + + + + + + + + + \ No newline at end of file diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/beans(bytype).xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/beans(bytype).xml" new file mode 100644 index 0000000000000000000000000000000000000000..5af4f1194ba9ba8027d86f09c63be942028db0cd --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/beans(bytype).xml" @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/cn/tedu/spring/Animol.class" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/cn/tedu/spring/Animol.class" new file mode 100644 index 0000000000000000000000000000000000000000..f694c13dcf856aa18161c0195350d27fdde2c683 Binary files /dev/null and "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/cn/tedu/spring/Animol.class" differ diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/cn/tedu/spring/Context.class" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/cn/tedu/spring/Context.class" new file mode 100644 index 0000000000000000000000000000000000000000..8dd3bb7da9e8c4feb99c967e07d9d2ee6eba4091 Binary files /dev/null and "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/cn/tedu/spring/Context.class" differ diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/cn/tedu/spring/Test01.class" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/cn/tedu/spring/Test01.class" new file mode 100644 index 0000000000000000000000000000000000000000..9d97e44ed55ce9c80da9ead8c32f3112dcf3cdbf Binary files /dev/null and "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/cn/tedu/spring/Test01.class" differ diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/cn/tedu/spring/Tiger.class" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/cn/tedu/spring/Tiger.class" new file mode 100644 index 0000000000000000000000000000000000000000..356b2776fc49bdfa6999b2162d86ad5fb7edf345 Binary files /dev/null and "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/cn/tedu/spring/Tiger.class" differ diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/cn/tedu/spring/Tom.class" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/cn/tedu/spring/Tom.class" new file mode 100644 index 0000000000000000000000000000000000000000..f5318742aca775b6b7f7ac9252a2951099134099 Binary files /dev/null and "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/2\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/Spring1/target/classes/cn/tedu/spring/Tom.class" differ diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/.idea/.gitignore" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/.idea/.gitignore" new file mode 100644 index 0000000000000000000000000000000000000000..13566b81b018ad684f3a35fee301741b2734c8f4 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/.idea/.gitignore" @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/.idea/compiler.xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/.idea/compiler.xml" new file mode 100644 index 0000000000000000000000000000000000000000..4e86073a329993e86957b74e5413f00c738216b5 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/.idea/compiler.xml" @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/.idea/encodings.xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/.idea/encodings.xml" new file mode 100644 index 0000000000000000000000000000000000000000..63574ec0afb84f7375a0ec33a00da97c7de2310b --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/.idea/encodings.xml" @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/.idea/jarRepositories.xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/.idea/jarRepositories.xml" new file mode 100644 index 0000000000000000000000000000000000000000..cce8e0f5ffcc4d6b1b9c5149eca38188dab4e1b1 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/.idea/jarRepositories.xml" @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/.idea/misc.xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/.idea/misc.xml" new file mode 100644 index 0000000000000000000000000000000000000000..dabe0e8ad19513566ea15ad35263cc3e557c5641 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/.idea/misc.xml" @@ -0,0 +1,17 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/pom.xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/pom.xml" new file mode 100644 index 0000000000000000000000000000000000000000..3990a1bf57cdc2e0d078302748967a1277cf3449 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/pom.xml" @@ -0,0 +1,74 @@ + + + + 4.0.0 + + org.example + homework2 + 1.0-SNAPSHOT + war + + homework2 Maven Webapp + + http://www.example.com + + + UTF-8 + 1.7 + 1.7 + + + + + junit + junit + 4.11 + test + + + + org.springframework + spring-context + 5.3.18 + + + + + + homework2 + + + + maven-clean-plugin + 3.1.0 + + + + maven-resources-plugin + 3.0.2 + + + maven-compiler-plugin + 3.8.0 + + + maven-surefire-plugin + 2.22.1 + + + maven-war-plugin + 3.2.2 + + + maven-install-plugin + 2.5.2 + + + maven-deploy-plugin + 2.8.2 + + + + + diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/java/tow/Demo.java" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/java/tow/Demo.java" new file mode 100644 index 0000000000000000000000000000000000000000..9ea05a6a1b368e6c5906dda746b50d2e5e318751 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/java/tow/Demo.java" @@ -0,0 +1,30 @@ +package tow; + +public class Demo { + private String name; + private int age; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public int getAge() { + return age; + } + + public void setAge(int age) { + this.age = age; + } + + @Override + public String toString() { + return "Test01{" + + "name='" + name + '\'' + + ", age=" + age + + '}'; + } +} diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/java/tow/Test01.java" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/java/tow/Test01.java" new file mode 100644 index 0000000000000000000000000000000000000000..ec1c87f04183a09145bbe8aee0aaa11ea818d7e4 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/java/tow/Test01.java" @@ -0,0 +1,17 @@ +package tow; + +import org.junit.Test; +import org.springframework.context.ApplicationContext; +import org.springframework.context.support.ClassPathXmlApplicationContext; + +public class Test01 { + + @Test + public void test(){ + ApplicationContext ac=new ClassPathXmlApplicationContext("beans.xml"); + Demo d=(Demo)ac.getBean("demo"); + System.out.println(d); + ((ClassPathXmlApplicationContext)ac).close(); + } + +} diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/resources/beans.xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/resources/beans.xml" new file mode 100644 index 0000000000000000000000000000000000000000..c04254a65e62b81836844ba9d74d2577eed4b101 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/resources/beans.xml" @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/resources/demo.properties" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/resources/demo.properties" new file mode 100644 index 0000000000000000000000000000000000000000..fe92a72974c759671a6712d96325bf03d5aa4089 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/resources/demo.properties" @@ -0,0 +1,2 @@ +name="仙人板板" +age=98 \ No newline at end of file diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/webapp/WEB-INF/web.xml" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/webapp/WEB-INF/web.xml" new file mode 100644 index 0000000000000000000000000000000000000000..9f88c1f9632445500e3b3688fe477b860f77d8f2 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/webapp/WEB-INF/web.xml" @@ -0,0 +1,7 @@ + + + + Archetype Created Web Application + diff --git "a/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/webapp/index.jsp" "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/webapp/index.jsp" new file mode 100644 index 0000000000000000000000000000000000000000..c38169bb958579c635a5c09ee2f379cc5956c0c2 --- /dev/null +++ "b/\345\244\217\344\270\212\347\234\237-20202501347-\344\275\234\344\270\232(27\347\217\255-\345\205\250)/3\344\275\234\344\270\232-20202501347-\345\244\217\344\270\212\347\234\237/homework2/src/main/webapp/index.jsp" @@ -0,0 +1,5 @@ + + +

Hello World!

+ + diff --git "a/\346\217\220\344\272\244.txt" "b/\346\217\220\344\272\244.txt" new file mode 100644 index 0000000000000000000000000000000000000000..240611c59b9dc176e31f7dde4a817b2c99306d46 --- /dev/null +++ "b/\346\217\220\344\272\244.txt" @@ -0,0 +1 @@ +作业源码 \ No newline at end of file