File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • 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: 825
1
  • 0
  • 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: 825
1
  • 0
  • 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?
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic