What is a, Spring Web MVC
Spring Web MVC is a kind of implementation based on Java Web MVC design pattern request drive type of lightweight Web framework, which USES the idea of MVC architecture pattern, and the Web layer for duty decoupling, based on the request driver means the use of request - response model, the purpose of the framework is to help us simplify development, Spring Web MVC is to simplify our daily Web development,
For SpringMVC working principle diagram to refer to the following link:
https://blog.csdn.net/lin1094201572/article/details/81262264
Java Web project to add support for SpringMVC,
Step one,
Step 2
In the web project name, right to MyEclipse, Add Sping "Capabilities...
Step 3
In the pop-up window, select the "Sping3.1" version, and then check the need of library (usually for the first four), the development needs, click next,
As shown in figure
Step four:
XML create Spring applicationContext configuration file. The default configuration, pay attention to the default configuration file space is incomplete, to modify the namespace,
Step 5:
In the Web. In the XML configuration spring listener, start the spring, when project start
As shown in figure
For SpringMVC basic add to this end, I hope for your help, to explore to seek more knowledge need myself,