摘要:
1.http://localhost/az/servlet/TestResponse out.print("getServletPath:"+request.getServletPath()); // /servlet/TestResponse out.print(",getContextPath: 阅读全文
posted @ 2017-11-03 13:07
newlangwen
阅读(174)
评论(0)
推荐(0)
摘要:
1. response.setCharacterEncoding("UTF-8"); 设置内容的字符集 2. response.setHeader("content-type", "text/html;charset=UTF-8"); 设置浏览器以UTF-8编码格式显示内容 不能理解的是下面浏览器也 阅读全文
posted @ 2017-11-03 09:45
newlangwen
阅读(770)
评论(0)
推荐(0)

浙公网安备 33010602011771号