- 博客(1)
- 收藏
- 关注
原创 response中文乱码
servlet写登录页面,返回提示性弹窗时出现的中文乱码问题: //记得写在doget 或 dopost 方法内 request.setCharacterEncoding("utf-8"); response.setContentType("text/html;charset=utf-8");//或response.setCharacterEncoding("utf-8"); PrintWriter out = response.getWriter();//这句要写在response设置utf-8的后面 o
2020-05-13 16:21:39
162
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人