Monitor User Activity of Website

Hi, I would like to monitor the user activity of my website by reading the HTTP response from the webserver. Any suggestions how can I write the code?

I am given an assignment to track the usage of the website and provide a generic solution.That said I cannot modify the existing webapplication code. Any suggestions/ideas? Please help.

Thanks.

[364 byte] By [garollousa] at [2007-9-25]
# 1
Why don't you use a javax.servlet.Filter?You can also wrap the HttpServletResponse object so you can monitor what is written to it's PrintWriter.Amir Pashazadeh
AmirPashaa at 2007-7-14 > top of java,Core,Core APIs...
# 2
You could use a web proxy, and have the proxy record all activity. There are open-source and retail products that do this. Also, depending on what web app you are using, there may be a tracking or monitoring API on itself.
watertownjordana at 2007-7-14 > top of java,Core,Core APIs...
# 3

Hi,

Thanks for your reply. I tried to use the usaProxy server. But noticed that it works only when I install that on the clients system.Say for example.. i have my application running on Tomcat with port 8080.. I did not know how to access the application on port 8080 using the proxy server. The proxy server will run on a different port right... This is in java but not sure how to do it...Please help me.. Also recommend any other proxy server if they are easier..

Thanks

garollousa at 2007-7-14 > top of java,Core,Core APIs...