December 16, 2008 at 7:10 AM
In servlet technology.. we can know the visited number for the web page, we can use page stroke counts. use that u will know how many times the site is viewed by the user.
December 16, 2008 at 9:07 AM
////////////*****using below code u can get the number that how many times ur site is visited********/////////
<%@ page language="java" contentType="text/html" %>
int globalCounter = 0;
<title>A page with a counter</title>
This page has been visited: <%= ++globalCounter %> times.
int localCounter = 0;
This counter never increases its value: <%= ++localCounter %>
hope u will fine with this