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 阅读全文
posted @ 2024-09-13 15:18 梦想_demo 阅读(5) 评论(0) 推荐(0) 编辑
摘要:1.像web一样创建maven项目,然后像pom.xml里导入spring juint 的依赖 2.如何不用new 出对象 而且可以使用对象 首先得在resource里创建Spring 得bean.xml 里面得配置为 首先有两种方法实 (1) 左边得代码为 public void test(){ 阅读全文
posted @ 2024-09-05 16:57 梦想_demo 阅读(13) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示