SpringBoot-Servlet配置及容器切换

容器配置 1. 配置文件 # 简单配置可以通过application.yml文件直接进行配置 server.port=8080 2. 代码配置 @Configuration public class Config { @Bean WebServerFactoryCustomizer webServerFactoryCustomizer(){ return new WebServerFactoryC
相关文章
相关标签/搜索