2017-05-11 22:15 GMT+02:00 developer researcher
<java.developer.researc...@gmail.com>:
> Hello Lukasz,
>
> Is curious but I have more problems when the value of "
> struts.objectFactory.spring.enableAopSupport" is true that when it is
> false. Unlike "https://issues.apache.org/jira/browse/WW-4110"; my problem is
> not of object injection but of the execution of Spring AOP. It may be a
> versions theme of Struts and Spring.

Thanks, looks like we can mark the flag as deprecated. And maybe you
are right, it can be na issue with different Spring versions.

> In summary:
>
> 1. When struts.objectFactory.spring.enableAopSupport is false
> (default): One problem in the scenarios that I have tested.
>
> - AOP on methods of injected objects (in actions): works as expected.
> - AOP on methods of actions with results of the default type
> (dispacher):There are problems depending on whether the action extends
> ActionSupport or not, but they are manageable through Spring configuration.
> - AOP on methods of actions with results of json type (using
> json-plugin):The exception "OperationNotSupportedException" occurs, I have
> not found a solution through configuration.

Maybe try to prepare a small demo app to demonstrate what problems do you have?



Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to