标签:lse 技术分享 内置对象 getattr attr bubuko com null set
<% Object obj = application.getAttribute("count"); if(obj !=null){ Integer sum = (Integer)obj; sum++; application.setAttribute("count",sum); }else{ application.setAttribute("count",1); } %> <%=application.getAttribute("count")%>
标签:lse 技术分享 内置对象 getattr attr bubuko com null set
原文地址:https://www.cnblogs.com/www-yang-com/p/9468914.html