• Post Reply Bookmark Topic Watch Topic
  • New Topic

Page Hit Counter

 
Jayaram Ponnusamy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am new to JSP not much familier.

We are using CMS (template based) I have added below code to display page hit counter. for ex. Article Template JSP i added this code and we have 100+ Article Page using the same JSP.
if 1st Article Count is 10 and visiting 2nd Article first time, its showing count value is 11.

I want to get Page Hit Counter individual value for each Article. Each Article having unique ID/Title will it help to make.

Please help me to achieve it.
Thanks
Jay
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35716
410
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcometo CodeRanch!

There's no code below. Are you allowed to use a map? How do you persist the single counter across restarts?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!