一般默认Spring的配置文件叫applicationContext.xml。放在类路径下,即src下。当然也可以起名叫其他的,比如haha.xml。 在Students的基础上: 类路径下的配置文件 … Continue reading Spring—-getBean的四种用法
一般默认Spring的配置文件叫applicationContext.xml。放在类路径下,即src下。当然也可以起名叫其他的,比如haha.xml。 在Students的基础上: 类路径下的配置文件 … Continue reading Spring—-getBean的四种用法