This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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: 6513

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 agree. Here's the link:
subject: Website Statistics using Struts
It's not a secret anymore!