摘要:
(Spring自动装配) 前提 public class Cat { public void shout() { System.out.println("miao~"); } } public class Dog { public void shout() { System.out.println( 阅读全文
摘要:
(Spring进一步学习) 1、beans.xml编写 public class User { private String name; public UserT(String name) { this.name = name; } public void setName(String name) 阅读全文
摘要:
(Spring第一个程序) 1、利用Maven导入jar包 <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>5.3.10</version> </d 阅读全文