Post and Get methods garbled form processing

post method:

  Only needs to transmit the character at the receiving end of the transmission character the request of the receiving end (POST as UTF-8)

         request.setCharacterEncoding("UTF-8");

 

get method:

    In the file server needs to configure the URIEncoding = "UTF-8" to the characters, GBK not;

        URIEncoding="UTF-8"

 

      That changed in here like this can >>>

        

 

 

Note: two configuration methods are separate, the two are not related;

 

Guess you like

Origin www.cnblogs.com/ssws/p/12548597.html