Why does POST not honor charset, but an AJAX request does? tomcat 6

后端 未结 5 802
攒了一身酷
攒了一身酷 2020-12-05 07:29

I have a tomcat based application that needs to submit a form capable of handling utf-8 characters. When submitted via ajax, the data is returned correctly from getParameter

5条回答
  •  悲哀的现实
    2020-12-05 07:44

    Have you tried to specify useBodyEncodingForURL="true" in your conf/server.xml for HTTP connector?

提交回复
热议问题