获得spring 的bean一.servlet中二.普通java类中传统的方法HrService hrService (HrService) MyApplicati
获得spring 的bean
一.servlet中
二.普通java类中
传统的方法HrService hrService = (HrService) MyApplicationContextUtil.getContext().getBean("hrService");
获得spring 的bean
一.servlet中
二.普通java类中
传统的方法HrService hrService = (HrService) MyApplicationContextUtil.getContext().getBean("hrService");