Home > Back-end >  HTML file after filter, the springmvc configuration codes are garbled
HTML file after filter, the springmvc configuration codes are garbled

Time:10-29

Before baidu is to change the tomcat service. The XML file, but modified or not, only in the web. The XML file filter commented out the Chinese, the HTML page is Chinese, could you tell me, what's going on, in any comment or no comment, the JSP page is no problem, but did not test the JSP get and post the received data garbled?
This is my filters

CharacterEncodingFilter

Org. Springframework. Web. Filter. CharacterEncodingFilter

Encoding
Utf-8 & lt;/param - value>


ForceEncoding
True



CharacterEncodingFilter
/* & lt;/url - pattern>

CodePudding user response:

Is there a big to give directions

CodePudding user response:

First of all, if it is page garbled filter is not necessarily a problem!
Can be declared inside your HTML web page code, have a look at the inside of the page code

CodePudding user response:

No problem, in the idea are Chinese, also set up in the HTML code, but is to start on the tomcat garbled
  • Related