1.RequestMapping("")中""里面要不要加斜杠? 1,RequestMapping最前面可以加斜线,比如:@RequestMapping("/testPath") 2,RequestMapping最前面可以不加斜线,比如:@RequestMapping(“testPath”) 3,RequestMapping最前面可以加很多斜线,比如:@RequestMapping("///testPath") 建议:规范一点
专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]
Copyright (C)ICode9.com, All Rights Reserved.
ICode9版权所有