IDEA spring之p命名空间注入
配置xml文件
xmlns:p=“http://www.springframework.org/schema/p”
Book类:
测试:
运行结果:
Student类:
配置 bean
测试:
运行:
IDEA spring之p命名空间注入
配置xml文件
xmlns:p=“http://www.springframework.org/schema/p”
Book类:
测试:
运行结果:
Student类:
配置 bean
测试:
运行: