以下几种方法可供参考(法1和法3不要同时用)
1.你可以试试在action的提交页面forward.jsp里加上<%
......
request.setCharacterEncoding("gb2312");
.....
%>
2.将memethod改为post
3.还有一个几乎万能法,不过要复杂一点,就是对含有汉字的字符进行转码
例<form name="form_add"action="forward.jsp" method="post">
<input type="text" name="textfield">
<input type="submit" name="Submit" value="提交">
</form>
forward.jsp里的部分代码
<%
.......
//request.setCharacterEncoding("gb2312");
String temp=request.getParameter("textfield");//先把上页里的文本框textfield的值给temp
String content=new String(temp.getBytes("ISO-8859-1"),"gb2312");//content为temp中文转码后的值,gb2312也可以是gbk
out.println("content的值是"+content+" .");//测试content
.......
%>
参考资料:无