• Post Reply Bookmark Topic Watch Topic
  • New Topic

Count number of downloads  RSS feed

 
Miran Cvenkel
Ranch Hand
Posts: 208
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ivan Jozsef Balazs
Rancher
Posts: 999
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is its a dynamic (e.g. servlet, jsp) or a static resource?

Anyway, perusing access logs can also be useful.

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!