mxd446814583的博客小弟在controller层中,做了如下定义@RestController@RequestMapping("/userInfo")public class UserInfoController { @RequestMapping(value = "/testAjax.html") @ResponseBody public ...
weixin_49254857的博客Controller @Controller @RequestMapping("/hello") public class HelloController { @RequestMapping("/01") public String method01(Model model){ ... //向模型中传入数据,用于传入前端进行页面渲染 .