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

Web Usage Filter?

Chris Dempsey

Joined: Feb 24, 2004
Posts: 9
On a web app project I've been asked to write, tracking where an internal user goes is an important requirement. I've searched on the web for such a component since I thought surely something like this (i.e. a filter) has already been written. Have any of my fellow Ranchers come across anything like this?
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33102

If you are using a webserver, the access logs often provide valuable information.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Santosh Maskar
Ranch Hand

Joined: Jul 02, 2003
Posts: 226
you can use the security filters to track the user

other wise you can see the server log file and its associated session along with the each request,for this user

for Ex. Pramati3.5 have very good dashboard and weblog , using this developer can track the user activity

Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
i am doing a bit like same thing. but haven't went for any component there. doing it on my own. i am making logs for user navigation, transaction and session in my DB. you also can do that. otherwise you can go for log4j for logging stuff, if it is something about logging.
Senthil B Kumar
Ranch Hand

Joined: Feb 09, 2004
Posts: 160
Create a Logging utility (or use any third party tool like Apache Log4j), and bypass all the user request through this utility, so that you can track the user. You can reffer to Sun Java Pattern BluePrints, to have an idea of such filters.

Work like you don't need the money. Love like you've never been hated. Dance like nobody's watching. Sing like nobody's listening. Live like it's Heaven on Earth.
Currently I Reside Here WEBlog
I agree. Here's the link:
subject: Web Usage Filter?
It's not a secret anymore!