摘要: 注解: * @Component: * 作用:用于把当前类对象存入spring容器中 * 属性: * value:用于指定bean的id。当我们不写时,他的默认值是当前类名,且首字母改小写。 XML配置: * Contro... 阅读全文
posted @ 2019-10-31 19:56 小帅学java 阅读(9) 评论(0) 推荐(0)