weblogic集群乱码
在tomcat下搜索修改后正常,在weblogic集群下出现乱码的情况,加上encodeURI()即可。
修改前:
location.href="<%=basePath%>manager/user/us_showup.jcms?uname="+mz;
修改后:
location.href=encodeURI("<%=basePath%>manager/user/us_showup.jcms?uname="+mz);
在tomcat下搜索修改后正常,在weblogic集群下出现乱码的情况,加上encodeURI()即可。
修改前:
location.href="<%=basePath%>manager/user/us_showup.jcms?uname="+mz;
修改后:
location.href=encodeURI("<%=basePath%>manager/user/us_showup.jcms?uname="+mz);