current position:Home>SpringBoot 2. X setting request and corresponding code

SpringBoot 2. X setting request and corresponding code

2022-06-24 09:12:41DanceDonkey

stay application.properties Middle configuration

server.servlet.encoding.charset=UTF-8
server.servlet.encoding.enabled=true
server.servlet.encoding.force-request=true
server.servlet.encoding.force-response=true

copyright notice
author[DanceDonkey],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/175/202206240741096808.html

Random recommended