Multiple Spring @RequestMapping annotations

Posted by wuntee on Stack Overflow See other posts from Stack Overflow or by wuntee
Published on 2010-03-25T04:19:56Z Indexed on 2010/03/25 4:23 UTC
Read the original article Hit count: 187

Filed under:

Is it possible to use multiple @RequestMapping spring annotations in a method? Like:

@RequestMapping("/") @RequestMapping("") @RequestMapping("/welcome") public String welcomeHandler(){ return("welcome"); }

© Stack Overflow or respective owner

Related posts about spring-mvc