写web项目时为什么不用手动去获取ApplicationContext ?
spring吧
全部回复
仅看楼主
level 1
以前 写控制台项目时 不是需要 这样吗?
ApplicationContext atc = new AnnotationConfigApplicationContext(ApplicationContextTest.class);
WEB里为啥不用了?
2022年03月22日 09点03分 1
level 1

2022年03月23日 02点03分 2
level 1
哈哈哈
2022年03月25日 07点03分 3
level 1

2022年04月17日 09点04分 4
level 1
你获取ApplicationContext是为了什么
2022年04月19日 08点04分 5
1