05-JSP 3行统计访问量 123456<% Integer count = (Integer) application.getAttribute("count"); count = (count == null || count == 0) ? 1 : count+1; application.setAttribute("count", count);%>页面访问量:${count}次 04_大前端 > 99_JSP #JSP 05-JSP 3行统计访问量 https://janycode.github.io/2018/04/29/04_大前端/99_JSP/05-JSP 3行统计访问量/ 作者 Jerry(姜源) 发布于 2018年4月29日 许可协议 🔗 复制链接 📢 分享到微博 🐦 分享到 Twitter 📘 分享到 Facebook 💬 分享到微信 微信扫一扫分享 × 打开微信扫一扫,点击右上角分享 07-JSP 发送邮件 上一篇 19-BeanUtils数据封装 下一篇 Please enable JavaScript to view the comments