学习·中JSP 页面的 中文乱码

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/weixin_39298521/article/details/82632313

学习·中JSP 页面的 中文乱码


这里写图片描述

默认ecplise 生成 doGet 方法 有

response.getWriter().append("Served at:").append(request.getContextPath());

这么一句 ,设置了 response.setContentType(“UTF-8”)也会乱码,删除上面这句问题解决

猜你喜欢

转载自blog.csdn.net/weixin_39298521/article/details/82632313