1、Controller https://blog.csdn.net/zhangpo… 2、注入注解 Autowired是主动注入,主动从spring的上下文找到适合的bean来注入 Resource用来指定名称注入 5.
发表回复