This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Spring and the fly likes If using Struts 2,should one go for Spring AOP for logging or use Struts 2 interceptor  ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "If using Struts 2,should one go for Spring AOP for logging or use Struts 2 interceptor  ?" Watch "If using Struts 2,should one go for Spring AOP for logging or use Struts 2 interceptor  ?" New topic
Author

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

Monica. Shiralkar
Ranch Hand

Joined: Jul 07, 2012
Posts: 639
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

Joined: Jul 07, 2012
Posts: 639
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: If using Struts 2,should one go for Spring AOP for logging or use Struts 2 interceptor ?