1傳中文之前的準(zhǔn)備
<%
String a = "我是立軍";
a = URLEncoder.encode(a,"gbk");
%>
<body>
<a href="hello.jsp?actionName=<%=a%>" > 試驗(yàn)</a>
2.接收 <%
String actionName=new String(request.getParameter("actionName").getBytes("iso8859_1"));
%>
actionName:<%=actionName %>