Javaweb中文乱码问题

request.setCharacterEncoding("utf-8");必须写在获得参数之前,即request.getParameter();之前

原文地址:https://www.cnblogs.com/lly001/p/6596201.html