btw. there was a bug, the name of the flag is "struts.objectFactory.spring.enableAopSupport" - already fixed that http://struts.apache.org/docs/spring-plugin.html
2017-05-10 8:28 GMT+02:00 Lukasz Lenart <lukaszlen...@apache.org>: > 2017-05-10 0:30 GMT+02:00 developer researcher > <java.developer.researc...@gmail.com>: >> Hello, >> >> I am using struts 2.5.10.1 with spring-plugin (Spring 4.1.6). According to >> the documentation, the default value of >> "struts.class.spring.enableAopSupport" is "false"; the description of this >> property is "*Uses different logic to construct beans to allow support AOP*"; >> however I have used the Spring AOP in Actions and in injected objects in >> Actions, without using or changing the value of >> "struts.class.spring.enableAopSupport" in struts.properties. > > See https://issues.apache.org/jira/browse/WW-4110 > >> So my queries are: >> >> 1. What is the difference or impact of set the value of >> "struts.class.spring.enableAopSupport" to true? > > Different flow of creating a Spring bean, an old approach > >> 2. When would it be necessary set the value of >> "struts.class.spring.enableAopSupport" to true? > > When it won't work with the flag set to "false" > > > 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