摘要: spring注解 在spring配置文件中引入context文件头 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http:// 阅读全文
posted @ 2021-08-01 22:15 达1024 阅读(73) 评论(0) 推荐(0)
摘要: springIOC IOC创建对象方式 1. 通过无参构造方法创建 User.java (默认有无参构造方法) public class User { private String name; public String getName() { return name; } public void 阅读全文
posted @ 2021-08-01 21:51 达1024 阅读(30) 评论(0) 推荐(0)
摘要: spring快速上手 HelloSpring 导入依赖 <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>5.1.10.RELEASE</versio 阅读全文
posted @ 2021-08-01 19:39 达1024 阅读(32) 评论(0) 推荐(0)
摘要: spring概述 简介 Spring理念 : 使现有技术更加实用 . 本身就是一个大杂烩 , 整合现有的框架技术 官网:http://spring.io/ 官方下载地址 : https://repo.spring.io/libs-release-local/org/springframework/s 阅读全文
posted @ 2021-08-01 17:41 达1024 阅读(52) 评论(0) 推荐(0)