springtiny控制反转实现

一.读取配置 二.注解定义 定义了Controller,Service,RequestMapping,AutoWired,其中Controller,Service作用于class上: @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) RequestMapping用于匹配请求路径 @Target(ElementType.MET
相关文章
相关标签/搜索