第一章 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

相关文章:

  • 2021-09-08
  • 2022-02-14
  • 2021-10-17
  • 2022-12-23
  • 2021-12-01
  • 2022-12-23
  • 2021-06-12
  • 2021-09-19
猜你喜欢
  • 2021-08-24
  • 2022-02-03
  • 2021-09-13
  • 2022-12-23
  • 2022-12-23
  • 2021-05-07
  • 2021-07-19
相关资源
相似解决方案