摘要:
一、SpringMVC输出模型数据的几种常见途径 1、ModelAndView @Controller public class SpringmvcDemo { @RequestMapping(value = "/testModelAndView", method = RequestMethod.G 阅读全文
摘要:
1、@RequestParam 注解的作用是可以将请求参数绑定到控制器的处理方法的形参上,我们可以通过下面测试案例得出该注解具体的作用 2、@RequestParam 注解源码 @Target({ElementType.PARAMETER}) @Retention(RetentionPolicy.R 阅读全文