aspose file tools*
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
Author

Website Statistics using Struts

Phat Loc
Greenhorn

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?
Thanks
SOA_PL
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 5019
    
    8

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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Website Statistics using Struts