摘要:
https://www.cnblogs.com/d-i-p/p/11001806.html 默认转发 @RequestMapping("/123") public String test(HttpSession session) { System.out.println("123"); return 阅读全文
摘要:
在spring 3.2中,新增了@ControllerAdvice 注解,可以用于定义@ExceptionHandler、@InitBinder、@ModelAttribute,并应用到所有@RequestMapping中。参考:@ControllerAdvice 文档 https://www.cn 阅读全文