页头加上这句 <%request.setCharacterEncoding("GBK"); %> 记住其中的 ; 分号不能少 转载于:https://www.cnblogs.com/ganjun/p/5051217.html