counter « Page « JSP-Servlet Q&A

1. Need help on web page hit counter

Hi, I am trying to work on hit counter for a website.For each page on site, i have to have a counter to know how many hits were there for each page. 1) Most of the code I am getting is for a single page, where in counter keeps incrementing for each access of that page. If I have multiple pages ...

2. counter for JSP page

3. Page Counter Suggestion

4. How to maintain a counter in jsp to know how many times the page is visited?

Hi, I have a servlet code where an instance variable of Sevlet will be incremented each time the Servlet's service/doGet/doPost is invoked. By this way i am able to know how many times the partcular Servlet is requested.. here is code for the same. public class WelcomeServlet extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet { private static final long serialVersionUID = 464346461316L; private int ...