Re: [S2] ModelDriven, Preparable and SessionAware do not work with Spring

2007-03-12 Thread Shih Lee
Hi All, I managed to achieve what I wanted by using Struts 2 interceptor without having Spring aoping the action class through dynamic proxy. Here is the updated example.xml: http://struts.apache.org/dtds/struts-2.0.dtd";>

Re: [S2] ModelDriven, Preparable and SessionAware do not work with Spring

2007-03-08 Thread Adam Ruggles
One quick thing I see wrong is you have singleton="false" that is a spring 1 attribute. Shih Lee wrote: Hi All, I think I know what is the trouble but am still not sure why is this a problem for Struts 2.0. I hope someone from the Struts community can help to shed some light. The problem is w

Re: [S2] ModelDriven, Preparable and SessionAware do not work with Spring

2007-03-08 Thread Shih Lee
Hi All, I think I know what is the trouble but am still not sure why is this a problem for Struts 2.0. I hope someone from the Struts community can help to shed some light. The problem is when I use "org.springframework.aop.framework.ProxyFactoryBean" to AOP the Action class. Once I remove the A