这几天我正在学习春天http://static.springsource.org。 我在这个页面上遇到了一些问题http://static.springsource.org/docs/Spring-MVC-step-by-step/part4.html。我没有清楚地知道,当调用InventoryController类时调用setProductManager方法。我知道这是一个前端控制器,当请求hello.jsp页面时,ModelAndView方法会执行InventoryController。但我想知道,当setProductManager方法被调用。在InventoryController类中有一些问题?
任何帮助将是可观的。
哪些是春天的web开发中最重要的议题是什么? –
@NaveenChauhan:在Tomasz的回答中给出了ioc容器和依赖注入。你也可以阅读这些主题http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/spring-web.html –