标签:
ActionContext actionContext = invocation.getInvocationContext();
ServletContext context = (ServletContext) actionContext.get(StrutsStatics.SERVLET_CONTEXT);
WebApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(context);
OperatorDao operatorDao = (OperatorDao) ctx.getBean("agentOperatorDao");
标签:
原文地址:http://www.cnblogs.com/siashan/p/5545151.html