目录
(2)applicationContext.xml(Sring核心配置文件)
(2)applicationContext.xml(Spring核心配置文件)
一、Spring的概念
二、各种数据类型的注入
(1)studentService
(2)applicationContext.xml(Sring核心配置文件)
(3)测试
关于乱码问题,只需要将编码格修改成UTF-8就可以了,具体的修改我就不多说了,大家也可以自己查找资料,不是很难的。
三、注入null或者empty类型的数据
(1)UserService
(2)applicationContext.xml(Spring核心配置文件)
(3)测试