摘要: @Controller 标识一个该类是Spring MVC controller处理器,用来创建处理http请求的对象. @Controller public class TestController { @RequestMapping("/test") public String test(Map 阅读全文
posted @ 2019-08-26 23:10 F正经 阅读(223) 评论(0) 推荐(0) 编辑
摘要: Bean在Spring和SpringMVC中很常见,那Bean到底是什么的?这个问题值得探讨。 是什么? Spring 官方文档对 bean 的解释是: In Spring, the objects that form the backbone of your application and tha 阅读全文
posted @ 2019-08-26 15:44 F正经 阅读(225) 评论(0) 推荐(0) 编辑