摘要: 组件注册 1、@Configuration , @Bean 1)xml方式 使用ClassPathXmlApplicationContext 来获取 2)注解 编写个配置类 通过AnnotationConfigApplicationContext来获取,并获取Id 输出 2、组件注册 @Compon 阅读全文
posted @ 2019-01-22 10:12 小撒酒风 阅读(224) 评论(0) 推荐(0) 编辑
摘要: Sign in </form> home articles Chapters and Sections> Search Latest Articles Latest Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/ 阅读全文
posted @ 2016-05-03 16:53 小撒酒风 阅读(659) 评论(1) 推荐(0) 编辑
摘要: 调用方式如下: 来自为知笔记(Wiz) 阅读全文
posted @ 2015-03-16 15:15 小撒酒风 阅读(369) 评论(0) 推荐(0) 编辑
摘要: IIS6下想要保存配置,只需在图形界面下点右键保存即可,但windows 2008下的IIS7却没有这样的选项,IIS7的配置文件有好几个,在c:\windows\system32\inetsrv\config文件夹下,如果需要手动去备份,只要复制一份config这个目录既可以。同时,iis7也可通过appcmd命令来管理备份,如:c:\windows\system32\inetsrv\AppCm... 阅读全文
posted @ 2015-03-09 17:34 小撒酒风 阅读(12564) 评论(0) 推荐(1) 编辑