
上QQ阅读APP看书,第一时间看更新
Creating a Spring MVC using an XML-based approach
It is now time to apply all the previous recipes to create a working Spring MVC setup. Applying Inversion of Control and Dependency Injection, our main goal now is to build a working baseline project with an XML-based container running on top of the Servlet container of our Tomcat 9 application server. This recipe will feature MVC components of Spring 5.0 and explain how this MVC works together with the servlet components.