File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes How do you count traffic? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How do you count traffic?" Watch "How do you count traffic?" New topic

How do you count traffic?

Ivan Jouikov
Ranch Hand

Joined: Jul 22, 2003
Posts: 269
I wanted to know, how do you keep track of traffic on your web-site? That is, how much MB do u use up during 1 page download for instance...

anybody worked with that?
Mark Vedder
Ranch Hand

Joined: Dec 17, 2003
Posts: 624

Most enterprise level web servers / application servers natively provide such statistics. There are ways you could do such on your own via custom code, but it would be a pretty involved subject for a discussion forum like this. You might try doing some google searches on the subject. Also some of the better Servlet/JSP books out there might have a discussion on the subject. You may want to spend the afternoon at a good bookstore and flip through some books looking for ideas.

I agree. Here's the link:
subject: How do you count traffic?
It's not a secret anymore!