spring注解开发

    (一)、配置文件(常用标签及作用)         1、<context:component-scan>和<context:annotation-config/>          spring就会去自动扫描base-package对应的路径或者该路径的子包下面的java文件,如果扫描到文件中带有@Service,@Component,@Repository,@Controller等这些注
相关文章
相关标签/搜索