First, the error phenomenon.
Interface Post submitted to the Contorller when the Contorller garbled.
Second, solve the problem.
Add the following code under Web. XML to resolve it.
<filter><filter-name>characterEncodingFilter</filter-name><filter-class> Org.springframework.web.filter.characterencodingfilter</filter-class><init-param><param-name >encoding</param-name><param-value>utf-8</param-value></init-param><init-param ><param-name>forceencoding</param-name><param-value>true</param-value></ Init-param></filter><filter-mapping><filter-name>characterencodingfilter</filter-name ><url-pattern>/*</url-pattern></filter-mapping> <servlet> <servlet-name>action& Lt;/servlet-name> <servlet-class>org.springframework.web.servlet.dispatcherservlet</servlet-class > <init-param> <param-name>contextConfigLocation</param-name> <param- Value>/web-inf/spring-mvc.xml</param-value> </init-param> <load-on-startup>1</loAd-on-startup> </servlet>
Java Introduction to Mastery-the wrong EASYUI+SPRINGMVC form form submitted to Contorller text garbled