The following illustration shows the web page that is created in this article.
The following illustration shows the files that you create in the IntelliJ project.
In the previous illustration, notice the required files you need for a Spring MVC project, including the Java Controller class (named HelloController), the web.xml file and the JSP (named hello.jsp) that renders the view.
To read this development article for Spring MVC 4, click this link https://drive.google.com/open?id=1-oQ5aXrSLjiZdIf0KXO5yD0EARKspzu4.
To read this development article for Spring MVC 5, click this link, https://drive.google.com/open?id=1kmc6RvwNicmr7PDD3BZDFcGp1zcdXQJy.
To read this development article for Spring MVC 5, click this link, https://drive.google.com/open?id=1kmc6RvwNicmr7PDD3BZDFcGp1zcdXQJy.