Home > Back-end > For help for springmvc gibberish
For help for springmvc gibberish
Time:02-09
From JSP back to Chinese to the controller, the console output this string will be garbled, followed by the string do not processing passes directly to a JSP is normal, the already configured for springmvc characterencodingfilter (started to receive also the code in the JSP, JSP is no longer the code after using this filter) Tomcat startup in idea console output log no garbled, the Tomcat server. The XML configuration, also help the cause of the console output cipher, and how to solve, do not use explicit from ISO utf that method
CodePudding user response:
Just the console, just add parameters - Dfile. Coding=utf-8