急急急!!关于乱码的页面传递
有一串字符串是经过加密函数后产生的乱码,现在要把该串传递到其他页面。
不管用form传递还是request传递,发现这窜乱码在jsp中破坏了程序本身的代码。
如:
<a href=javascript:tmp=window.open("<%=request.getContextPath()%>/jsp/manager/index.jsp?contextId=<%=encodestr%>","_blank","status=no,scrollbars=yes,top=20,left=110,width=630,height=200");tmp.focus();>登陆</a>
运行后发现window.open("函数丢失了后面的代码,javascript出错。
如何把乱码正常的传递到其他页面呢????