i have legacy j2ee project which is using struts 2 with spring. Now when i put debugger in first method call in action
class, i find all instance variables dependecies are injected automatically. i mean where do we configure dependency
injection for action class in struts? i explored the web.xml too , i do not find any related stuff?
i have legacy j2ee project which is using struts 2 with spring. Now when
Share
Does your struts configuration (struts.xml) contain an element like this?:
Read more at http://struts.apache.org/2.2.3/docs/spring-plugin.html