aspose file tools*
The moose likes JSP and the fly likes about config of tomcat for counting hits of index page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "about config of tomcat for counting hits of index page" Watch "about config of tomcat for counting hits of index page" New topic
Author

about config of tomcat for counting hits of index page

Kapil Keskar
Ranch Hand

Joined: Dec 04, 2001
Posts: 47
Hello guys,
I have to count the hits of Pages of index page.
So is there any facililty that i can have opening page "index.jsp" to count the hits in tomcat server.
I think it's more on admin part which i have to set it during configuration.
Can any body tell me about how to go for this on local server & also on server side where i don't have sufficient priviledge on site.
Thanks
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15639
    
  15

If you just need to know how many times the index page is being accessed for admin purposes, the easiest thing to do is monitor the server's access logs. This can be as complex as using a log analysis program or as simple as doing a "grep -c index.html /var/log/httpd/access_log*" (under Linux)
If you're looking for a "Hit Counter" to display on the page, I think your favourite web search engine can probably turn one up.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: about config of tomcat for counting hits of index page
 
Similar Threads
404 Error
how to count no of hits from a particular client?
how we can count no.of hits on a JSP page?
Error Page Not Found
session count