获得spring 的bean
一.servlet中
二.普通java类中
传统的方法HrService hrService = (HrService) MyApplicationContextUtil.getContext().getBean("hrService");
发布时间: 2012-11-16 14:12:14 作者: rapoo
获得spring 的bean
一.servlet中
二.普通java类中
传统的方法HrService hrService = (HrService) MyApplicationContextUtil.getContext().getBean("hrService");