标签:div support pre spring etc context color ext.get col
WebApplicationContext context = ContextLoader.getCurrentWebApplicationContext();
DaoSupport dao= (DaoSupport)context.getBean("daoSupport"); -- daoSupport是具体的bean的名字
用上述代码即可在axis2等项目加载顺序拟向工程中调用实例化bean
标签:div support pre spring etc context color ext.get col
原文地址:http://www.cnblogs.com/zrui-xyu/p/8010957.html