JSP关于application清零

<% if (application.getAttribute("count") == null)
{ application.setAttribute("count", new Integer(0)); }
Integer count = (Integer) application.getAttribute("count");
application .setAttribute("count", new Integer(count.intValue() + 1));
count = (Integer) application.getAttribute("count");
%>
这是代码,我想点击一次网页加一次,关闭网页application清零,再次打开访问量从0开始,怎么做

点击一次网页加一次,关闭网页就清零,那就不能用application。用request,也是setAttribute和getAttribute。
因为application.setAttribute设置的数据是“永久性的”,关闭页面,WEb没重启,存储数据就会一直存在,就不能清零