Article From:https://www.cnblogs.com/haoerlv/p/9969220.html

CkeditorThere are many tutorials on uploading pictures online.

 

Here’s a pit I met this afternoon….. A pit I dug myself.

In conotroller

I started to get used to it.

response.setContentType(“application/json; charset=UTF-8”);

The result is this pit. The wrong response type was set.

The right thing should be.

response.setContentType(“text/html;charset=UTF-8”);

 

I hope others don’t step into this pit.

Leave a Reply

Your email address will not be published. Required fields are marked *