Easy learning with example program codes

spring boot change context path

As we discussed in earlier tutorials that spring boot will take care of all boilerplate code, so it will provide all configurations automatically. But we can change the default configurations.

Spring boot change context path

Default context path in spring boot application is “/”. We can change it by overriding the default port in the file.

Please follow and like us:

Spring Tutorial

Copyright © 2019 CodesJava Protection Status SiteMap Reference: Java Wiki