spring context path root controller code example Example: context path spring boot server.servlet.context-path=/baeldung