日期:2014-05-16 浏览次数:20297 次
a.jsp??? response.sendRedirect("error.jsp?errmsg="+URLEncoder.encode("转换结果为空!","UTF-8"));
b.jsp??? <%=new String(request.getParameter("errmsg").getBytes("ISO-8859-1"),"UTF-8")%>
如上写法可解决乱码问题