解决js向controller传数据的乱码问题

1,preferences->general->workspace->text file encoding->utf-8

2,server.xml中加上URIEncoding="UTF-8"

<Connector URIEncoding="UTF-8" connectionTimeout="20000" port="8087" protocol="HTTP/1.1" redirectPort="8443"/>

posted @ 2017-10-09 14:37  牛郑焜  Views(351)  Comments(0Edit  收藏  举报