java - Trailing slash is not inserted in Spring Boot application -
tomcat in spring boot not inserting trailing slash after context name @ url.
it should done automatically server case not specified.
example: /user changed /user/ server
anyone have idea how enable it?
thanks
it not supposed insert trailing slash.
it in case of contextroot (which in spring boot application usally /, going http://your.server.here:8080 redirect http://your.server.here:8080/)
what use case redirects?
in case want functionality, should quite trivial add filter redirects you.
check out answers on question how spring mvc: urls trailing slash redirection
Comments
Post a Comment