JAVA-8794: Set spring.mvc.pathmatch.matching-strategy=ant-path-matcher

This commit is contained in:
Krzysiek 2021-12-14 16:40:11 +01:00
parent 468f697709
commit a6d23155da
2 changed files with 4 additions and 1 deletions

View File

@ -1 +1,3 @@
server.servlet.context-path=/spring-mvc-basics server.servlet.context-path=/spring-mvc-basics
spring.mvc.pathmatch.matching-strategy=ant-path-matcher

View File

@ -1,7 +1,8 @@
server.servlet.context-path=/spring-mvc-basics server.servlet.context-path=/spring-mvc-basics
### Content Negotiation (already defined programatically) ### Content Negotiation (already defined programatically)
spring.mvc.pathmatch.use-suffix-pattern=true
#spring.mvc.contentnegotiation.favor-path-extension=true #spring.mvc.contentnegotiation.favor-path-extension=true
#spring.mvc.contentnegotiation.favor-parameter=true #spring.mvc.contentnegotiation.favor-parameter=true
#spring.mvc.contentnegotiation.parameter-name=mediaType #spring.mvc.contentnegotiation.parameter-name=mediaType
spring.mvc.pathmatch.use-suffix-pattern=true
spring.mvc.pathmatch.matching-strategy=ant-path-matcher