This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Website Statistics using Struts

 
Phat Loc
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 7306
45
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic