This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt 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 Introducing JavaFX 8 Programming this week in the JavaFX 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: 6310

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]
subject: Website Statistics using Struts
It's not a secret anymore!