在jsp中解决@RequestParam乱码问题,在webxml中设置过滤器把编码设置成utf-8
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
在jsp中解决@RequestParam乱码问题,在webxml中设置过滤器把编码设置成utf-8
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>