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

Popular posts from this blog

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Handling constructor related functions while testing with mocha and sinon -