This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes How to calculate the hit count Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to calculate the hit count" Watch "How to calculate the hit count" New topic
Author

How to calculate the hit count

reddy raja
Greenhorn

Joined: Sep 21, 2009
Posts: 17
how can we calculate the hit count it should have the information even that servlet is undeployed and again redeployed it should proceed from previous value
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Database? File?
Ram Para
Ranch Hand

Joined: Jul 09, 2008
Posts: 50
persist the count in database or some file.


Ram Parashar
http://doinfinite.com
 
 
subject: How to calculate the hit count