Multiple Spring @RequestMapping annotations
- by wuntee
Is it possible to use multiple @RequestMapping spring annotations in a method? Like:
@RequestMapping("/")
@RequestMapping("")
@RequestMapping("/welcome")
public String welcomeHandler(){
return("welcome");
}