09 2024 档案
摘要:1.autowire byName byType 点击查看代码 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:s
阅读全文
摘要:1.像web一样创建maven项目,然后像pom.xml里导入spring juint 的依赖 2.如何不用new 出对象 而且可以使用对象 首先得在resource里创建Spring 得bean.xml 里面得配置为 首先有两种方法实 (1) 左边得代码为 public void test(){
阅读全文