Is it possible to use multiple @RequestMapping
annotations over a method?
Like :
@RequestMapping("/")
@RequestMapping("")
@RequestMapping("/welcome")
public String welcomeHandler(){
return "welcome";
}
See Question&Answers more detail:os