struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sreekanth S. Nair" <>
Subject Re: Issue in autowiring spring beans from parent context
Date Sun, 07 Aug 2016 08:34:19 GMT
I could shown little more patience :-) the problem solved, i was missing
context:componentscan missing for my web applicationContext file.


On Sun, Aug 7, 2016 at 1:32 PM, Sreekanth S. Nair <> wrote:

> Recently i tried to move some of the services to spring parent context, we
> use spring's *parentContextKey* in web.xml to enable
>  ContextLoaderListener to pick these services loaded globally. I have
> struts2 as well as Spring mvc modules inside an EAR, Spring mvc controller
> is properly getting injected with this parent context bean whereas struts2
> action classes are not getting injected with parent context bean. Any idea,
> if someone can tell me precisely which classes need to be debugged i can do
> that too. FYI, i'm using struts2-spring plugin along with rest and
> convention plugin.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message