阅读量:1
在Spring Boot中,可以通过配置文件来配置context path。
在application.properties文件中配置:
server.servlet.context-path=/myapp
在application.yml文件中配置:
server: servlet: context-path: /myapp
以上配置会将应用的context path设置为/myapp
。
在Spring Boot中,可以通过配置文件来配置context path。
在application.properties文件中配置:
server.servlet.context-path=/myapp
在application.yml文件中配置:
server: servlet: context-path: /myapp
以上配置会将应用的context path设置为/myapp
。
为您即时展示最新活动产品广告消息,让您随时掌握产品活动新动态!