Re: How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-03 Thread bavon mike
The actual problem was that struts 2.3.20 has some logging issues with wildfly(doesnt log anything at runtime)..i just downgraded it to 2.3.16.3 and i was able to trace the error On Mon, Mar 2, 2015 at 12:53 PM, Lukasz Lenart lukaszlen...@apache.org wrote: 2015-03-02 10:44 GMT+01:00 bavon mike

Re: How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-02 Thread bavon mike
Even on disabling CDI and using Spring, Ajax cant locate the action class. Mapping the action class in struts.xml and bean in applicationContext.xml works fine, problems comes when i want to use annotation( convention plugin) for my action class rather than using xml. On Mon, Mar 2, 2015 at

Re: How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-02 Thread bavon mike
i have tried constant name=struts.objectFactory value=spring / but no result. On Mon, Mar 2, 2015 at 10:29 AM, Johannes Geppert jo...@apache.org wrote: According to the spring plugin documentation [1] you need to setup following constant in your struts config. constant

Re: How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-02 Thread Lukasz Lenart
2015-03-02 10:44 GMT+01:00 bavon mike bavom...@gmail.com: Even on disabling CDI and using Spring, Ajax cant locate the action class. Mapping the action class in struts.xml and bean in applicationContext.xml works fine, problems comes when i want to use annotation( convention plugin) for my

Re: How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-02 Thread Lukasz Lenart
You are mixing CDI and Spring - you should use just one DI 2015-03-02 7:32 GMT+01:00 bavon mike bavom...@gmail.com: I am trying to configure spring plugin with strut 2 application, which is already running with convention plugin, so am using annotations. Am using ExtJs for my form submission

How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-01 Thread bavon mike
I am trying to configure spring plugin with strut 2 application, which is already running with convention plugin, so am using annotations. Am using ExtJs for my form submission which was initially working well until i introduced the spring plugin, now the the ajax request cannot locate the actions

Re: How do configure struts convention plugin with struts-spring plugin with Action class mapped with annotations

2015-03-01 Thread Johannes Geppert
According to the spring plugin documentation [1] you need to setup following constant in your struts config. constant name=struts.objectFactory value=spring / Best Regards Johannes [1] https://cwiki.apache.org/confluence/display/WW/Spring+Plugin