get context path in spring boot code example Example: context path spring boot server.servlet.context-path=/baeldung