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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -