SpringMvc和Spring的父子容器关系

例如: 在applicationContext-service中配置: <!-- 扫描包加载Service实现类 --> <context:component-scan base-package="com.taotao"></context:component-scan> 会扫描@Controller、@Service、@Repository、@Compnent Springmvc。Xml中不扫描
相关文章
相关标签/搜索