springboot配置tomcat编码
时间: 2023-11-09 16:58:21 浏览: 122
在Spring Boot中,可以通过配置文件或代码来配置Tomcat编码。要配置Tomcat编码,你可以使用以下几种方法:
1. 在配置文件中配置Tomcat编码。可以使用以下属性来配置Tomcat的编码:
- `server.tomcat.uri-encoding`:配置Tomcat的请求编码。默认为UTF-8。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [springboot中tomcat配置](https://blog.csdn.net/mylovewanzi/article/details/103840195)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* [SpringBoot中Tomcat配置(学习SpringBoot实战)](https://blog.csdn.net/m0_66557301/article/details/124418970)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文