When I use spring3 @Controller like this:
@RequestMapping(\"/userCenter\") @Controller public class LoginCtrl { @RequestMapping(\"/loginPage\") publ
Could still be useful with @RestController for creating redirect fallback to you REST Api
@GetMapping("/**") public ModelAndView Default() { ModelAndView mav = new ModelAndView("redirect:/actuator/health"); return mav; }