request.setCharacterEncoding("utf-8"); 设置请求数据的编码方式 request.setCharacterEncoding("utf-8"); 只针对post请求有效,因为post的数据封装为了请求体,而get方式 没有请求体