sunmingtao / sample-code

3 stars 4 forks source link

400 Unable to parse form content #177

Closed sunmingtao closed 3 years ago

sunmingtao commented 3 years ago

Submit a web form that contains special characters

image
sunmingtao commented 3 years ago

The solution is set content type of FreeMarkerViewResolver

resolver.setContentType("text/html;charset=UTF-8");