wood burning stoves
The moose likes Java in General and the fly likes Count number of downloads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Count number of downloads" Watch "Count number of downloads" New topic

Count number of downloads

Miran Cvenkel
Ranch Hand

Joined: Nov 23, 2010
Posts: 167
Have a link on web page that enableds user to download a file.

How to log number of downloads ?

Can be done by implementing Filter. Is this ok, or is there any better way.

Searchable nature photo gallery: http://agrozoo.net/jsp/Galery.jsp?l2=en
Ivan Jozsef Balazs

Joined: May 22, 2012
Posts: 968
Is its a dynamic (e.g. servlet, jsp) or a static resource?

Anyway, perusing access logs can also be useful.

I agree. Here's the link: http://aspose.com/file-tools
subject: Count number of downloads
It's not a secret anymore!