Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

If using Struts 2,should one go for Spring AOP for logging or use Struts 2 interceptor ?

 
Monica Shiralkar
Ranch Hand
Posts: 842
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AOP is commonly used for logging purpose but Struts 2 itself has interceptor which can provide this kind of logging. Still Spring AOP should be used or Struts 2 interceptor? I am confused

Thanks.
 
Monica Shiralkar
Ranch Hand
Posts: 842
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts 2 interceptor can do what Spring AOP can do in case of Logging. Should still one should go for Spring AOP in this case when using Struts2?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic