JSP迭代SESSION对象
发布日期:2021-09-30 18:11:10 浏览次数:32 分类:技术文章

本文共 420 字,大约阅读时间需要 1 分钟。

<%  ReturnVO e = (ReturnVO)request.getSession().getAttribute("retVO");   if(e!=null)   {
Enumeration c = session.getAttributeNames(); while(c.hasMoreElements()){
%> <% String name = (String)c.nextElement(); out.print(name); %> <% } List retVOList = (List)e.getretVO(); if(e.getretVO()!=null) {
%> <% out.print("e.getretVO(): "+retVOList.size()); }else{
out.print("successful: "); %> <%}}%>

转载地址:https://blog.csdn.net/iteye_10361/article/details/81688574 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:JS:取值方式
下一篇:知识与运用的博弈

发表评论

最新留言

初次前来,多多关照!
[***.217.46.12]2024年04月07日 18时57分46秒