var mycode="<%=session.getAttribute("code")%>";
说明:session中设置过setAttribute("code",sessionVar);
但是获取的好像只能是字符串.
var mycode="<%=session.getAttribute("code")%>";
说明:session中设置过setAttribute("code",sessionVar);
但是获取的好像只能是字符串.
转载于:https://www.cnblogs.com/zienzir/articles/9154344.html