摘要: 由于SpringBoot默认是以jar包的方式启动嵌入式的Servlet容器来启动SpringBoot的web应用,没有web.xml文件 阅读全文
posted @ 2018-11-27 12:23 超轶绝尘 阅读(563) 评论(0) 推荐(0) 编辑
摘要: 一、如何定制和修改Servlet容器的相关配置 1、配置文件(ServerProperties); 优先级最高 2、java代码 2.1 Spring Boot 1.5.10 版本 2.2 Spring Boot 2.1.0版本 2.2.1、 方式1 (优先级第二) 2.2.2、方式2 (优先级最低 阅读全文
posted @ 2018-11-27 11:20 超轶绝尘 阅读(2254) 评论(0) 推荐(0) 编辑