一、嵌入式Servlet容器 在SpringBoot中,默认使用 Tomcat 作为嵌入式的Servlet容器; 二、如何定制和修改Servlet容器的相关配置? 1、修改和 server 有关的配置(ServerProperties); 通用的Servlet容器设置: server.xxx 通用的 Tomcat 的设置: server.tomcat.xxx //application.properties //配置服务器端口号 server.port=8081 //配置tomcat的爸妈格式 server.tomcat.uri-encoding&#