PDA

View Full Version : Struts Action classes with Spring and AOP



MmarcoM
Mar 22nd, 2005, 04:37 PM
hello all,
i have integrated Struts with Spring by using DelegatingActionProxy for my Action classes.
I have written a generic Logger Advisor that logs method calls etc.., but i don't know how to apply it to all my Action classes that extends DelegatingActionProxy, since usually i seet advisors on ProxyFactoryBean

anyone has suggestions to give me?

thanx in advance and regards
marco

jicasada
Oct 6th, 2006, 10:18 AM
you would have to use as target bean, them that they implement the concrete action and do not bean them that they inherit of DelagatingActionProxy.
I hope that he is to you useful. I excuses by my English.
Juan