It's not a secret anymore!
The moose likes Struts and the fly likes Website Statistics using Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Website Statistics using Struts" Watch "Website Statistics using Struts" New topic

Website Statistics using Struts

Phat Loc

Joined: Sep 11, 2003
Posts: 1
Hi All,
I am creating a website using Struts. I would like to gather statistics on site usage. Any suggestions as to the best approach?
Junilu Lacar

Joined: Feb 26, 2001
Posts: 6281

What kind of statistics? Struts is geared mostly for flow control and presentation. You might try extending the ActionServlet and hook into the doGet/doPost methods to log information. You might also want to consider using Filters instead.

Junilu - [How to Ask Questions] [How to Answer Questions]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Website Statistics using Struts
It's not a secret anymore!