简体   繁体   English

Spring-Boot Tomcat配置

[英]Spring-Boot Tomcat Configuration

Where are the Embedded Tomcat configuration files for spring-boot-starter-web? spring-boot-starter-web的嵌入式Tomcat配置文件在哪里? I want to set autoDeploy="true" to make the Embedded Tomcat hot deploy changes to my html files. 我想将autoDeploy =“ true”设置为对我的html文件进行嵌入式Tomcat热部署更改。

An embedded container has no notion of an autoDeploy (that's a container feature that applies to deployed war files). 嵌入式容器没有autoDeploy的概念(这是适用于已部署war文件的容器功能)。 If you just want to reload static resources at dev time, the docs are here: http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#howto-hotswapping 如果您只是想在开发时重新加载静态资源,请访问以下文档: http : //docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#howto-hotswapping

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM