前后端设置utf-8

前后端设置utf-8

前端
<meta charset="utf-8">
后端
req.setCharacterEncoding("utf-8");
resp.setCharacterEncoding("utf-8");