spring 攻略第二版文摘

第一章 spring简介

spring ioc 容器:

1. bean factory

2.application context

实例化application context:

ApplicationContext context = new ClassPathXmlApplicationContext("beans.xml");

HelloWorld helloWorld = (HelloWorld) context.getBean("helloWorld");

helloWorld.hello();

第八章 spring @mvc

原文地址:https://www.cnblogs.com/smileberry/p/2720819.html