摘要:
1.多配置文件,其中application.properties中的spring.profiles.active能够灵活的切换使用环境 application.properties spring.mvc.view.prefix=/WEB-INF/jsp/ spring.mvc.view.suffix 阅读全文
摘要:
1.在application.properties中添加如下内容 server.port=8888 spring.mvc.servlet.path=/test 2.访问127.0.0.1:8888/test/hello 阅读全文