View RSS Feed


Java Server Pages (JSP) tutorials and examples.

  1. Hits Counter in a JSP Page

    , 07-07-2012 at 08:29 PM
    You have a website developed in JSP with different pages. The hit counter will help you the total number of users visit your any JSP page. In most cases, the hit counter is attached with “index.jsp” page. It is the main login page and most users will first visit this page before navigating to any other page on your application or website.

    The following methods are used to implement hit counter. These methods are attached with you “Application” object.

    • setAttribute() ...
    Tags: hits counter Add / Edit Tags