Counting the number of visitors for a web page - JavaScript and Struts
        Posted  
        
            by Dj
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Dj
        
        
        
        Published on 2010-02-18T07:24:08Z
        Indexed on 
            2010/03/09
            6:36 UTC
        
        
        Read the original article
        Hit count: 422
        
Hi i am Dhananjay,
I need to keep track of the number of visitors to a web page.
I have planned like this: on load of the home page, I will call a javascript callCounter();
From javascript, I need then to call an action and update a record in database.
Please help me with this. How do i call the action? I should be in the same home jsp after updating database.
Thanks in advance, Dhananjay
© Stack Overflow or respective owner