摘要: 1、@Component 管理组件的通用形式,写在类名之上,将对象注入ApplicationContext容器中。 2、@Controller 对应mvc模式的c,也即为控制层,代码形式如下: 1 @Controller 2 @Scope("prototype") 3 public class Us 阅读全文
posted @ 2018-07-12 10:20 liaochuanhu 阅读(24) 评论(0) 推荐(0)