request.setCharacterEncoding("UTF-8");
response.setCharacterEncoding("UTF-8");
或者:
response.setContentType("text/html; charset=utf-8");
Servlet -- 中文乱码解决
原文:http://www.cnblogs.com/androidsuperman/p/7190509.html