您的位置: 首页 > 文章 > spring property标签中的 ref属性和ref 标签有什么不同? spring property标签中的 ref属性和ref 标签有什么不同? 分类: 文章 • 2022-05-03 20:18:12 <property name="a" ref="b" />:找到当前配置文件中的bean。<ref bean ="b"/>:找到全局中的bean。