Add in Web.xml
setcharacterencoding filter-name>
org.springframework.web.filter.characterencodingfilter filter-class>
Encoding param-name> UTF-8 param-value> init-param>
filter>
setcharacterencoding filter-name>
*. htm url-pattern>
filter-mapping>
setcharacterencoding filter-name>
*. htm url-pattern>
filter-mapping>
Garbled: the definition of in your * -servlet.xml inside the org.springframework .Web.Servlet.view.jstlview value> property> / web-inf / jsp / value> property> .jsp value> property>
转载请注明原文地址:https://www.9cbs.com/read-77554.html