<% Integer hitsCount = (Integer)application.getAttribute("hitCounter"); if( hitsCount ==null || hitsCount == 0 ){ /* First visit */ hitsCount = 16102; }else{ /* return visit */ hitsCount += 1; } application.setAttribute("hitCounter", hitsCount); %>