看板 [ java ]
討論串[問題] 關於Spring trailing slash問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 5→)留言5則,0人參與, 7年前最新作者tony21177時間7年前 (2017/11/20 23:39), 7年前編輯資訊
0
0
0
內容預覽:
Spring default是enable Trailing Slash的行為. 我在我的configure有註冊RequestMappingHandlerMapping這個bean. 並且取消TrailingSlashMatch的使用,如下:. @Bean. public RequestMappi
(還有526個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者tony21177時間7年前 (2017/11/22 23:02), 7年前編輯資訊
0
0
2
內容預覽:
在5.0.1.Release版的Spring Framework Documentation. 提到要關掉traling slash的設定可以在configure override. public void configurePathMatch(PathMatchConfigurer configu
(還有591個字)
首頁
上一頁
1
下一頁
尾頁