티스토리 뷰

공부

[Python] multiple RequestMapping

승가비 2020. 5. 21. 00:41
728x90
@RequestMapping(value={"", "/", "welcome"})

https://stackoverflow.com/questions/2513031/how-to-use-multiple-requestmapping-annotations-in-spring

 

How to use multiple @RequestMapping annotations in spring?

Is it possible to use multiple @RequestMapping annotations over a method? Like : @RequestMapping("/") @RequestMapping("") @RequestMapping("/welcome") public String welcomeHandler(){ return "w...

stackoverflow.com

 

728x90

'공부' 카테고리의 다른 글

[Zeppelin] share url  (0) 2020.05.21
[JS] position & size `getBoundingClientRect()`  (0) 2020.05.21
[Python] set locale to datetime  (0) 2020.05.21
[Linux] nohup python3 app.py > log.txt 2>&1 &  (0) 2020.05.21
[Python] calc for numpy  (0) 2020.05.21
댓글