转码:a.href="./showCont.jsp?tcontent="+encodeURI(encodeURI(tcontent));
解码:java.net.URLDecoder.decode((String)request.getParameter("tcontent"), "UTF-8");