摘要: 解析:autowire属性不能设置none属性 解析:在spring中bean的作用域有:singleton、prototype、request和session。 B: C: D: 解析:Spring配置文件本身也可以通过import子元素导入其他配置文件,子标签需要使用resource引用。 解析 阅读全文
posted @ 2019-11-28 09:08 婷好 阅读(165) 评论(0) 推荐(0) 编辑
摘要: SSM整合 1、导入依赖 <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <!-- 表示开发的时候引入,发布的时候不会加载此包 - 阅读全文
posted @ 2019-11-28 09:07 婷好 阅读(117) 评论(0) 推荐(0) 编辑