sender.jsp
<%@ page language="java" import="java.util.*,java.net.*" pageEncoding="GB2312" contentType="text/html; charset=gb2312"%>
<html>
<head>
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=GB2312">
</head>
<body>
<%
String url = "receiver.jsp?test=谭老师";
url = new String(url.getBytes("GB2312"),"ISO8859_1");
response.sendRedirect(response.encodeRedirectURL(url));
%>
</body>
</html>
------------------------------------------------------------------------------------------------------------------------------------
receiver.jsp
<%@ page language="java" import="java.util.*,java.net.*" pageEncoding="GB2312" contentType="text/html; charset=gb2312"%>
<html>
<head>
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=GB2312">
</head>
<body>
<%
String url = "receiver.jsp?test=谭老师";
url = new String(url.getBytes("GB2312"),"ISO8859_1");
response.sendRedirect(response.encodeRedirectURL(url));
%>
</body>
</html>