要让Servlet支持UTF8,需要在doGet或者doPost中添加如下一条语句: request.setCharacterEncoding("UTF-8"); 转载于:https://www.cnblogs.com/ilovewindy/p/3858083.html