转码:a.href="./showCont.jsp?tcontent="+encodeURI(encodeURI(tcontent));
解码:java.net.URLDecoder.decode((String)request.getParameter("tcontent"), "UTF-8");
转码:a.href="./showCont.jsp?tcontent="+encodeURI(encodeURI(tcontent));
解码:java.net.URLDecoder.decode((String)request.getParameter("tcontent"), "UTF-8");
转载于:https://www.cnblogs.com/WorkDay/p/3497662.html