JAVA日报

form表格提交到JSP 用 getParameter()可以获得参数的值

但是要设置以下内容

request.setCharacterEncoding("utf-8");
response.setCharacterEncoding("utf-8");
response.setContentType("text/html; charset=utf-8");

原文地址:https://www.cnblogs.com/mumulailai/p/14162672.html