aspose file tools*
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
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: 541
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: 541
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 ?
 
Similar Threads
AOP
Logging username Using MethodInterceptor with AOP
Seam AOP
What is AOP?
AOP vs OOP