var mycode="<%=session.getAttribute("code")%>";

说明:session中设置过setAttribute("code",sessionVar);

但是获取的好像只能是字符串.

相关文章:

  • 2021-11-02
  • 2021-09-20
  • 2021-07-22
  • 2021-12-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
  • 2021-06-20
相关资源
相似解决方案