JSP里request接受数据不能识别中文

mac2024-07-12  53

文件中头要一开始设置为UTF-8可识别中文 还有设置request的编码 request.setCharacterEncoding(“UTF-8”); 这样就可以了

最新回复(0)