Tuesday, 15 October 2019

Developing a Spring MVC 4/5 project by using Maven and IntelliJ IDE

You can create a Spring MVC project by using Maven and IntelliJ IDE. In this development article, Spring version 4/5 and IntelliJ 2019 are used. This development article guides you through how to create a Spring MVC project, including how to configure the Spring DispatcherServlet. This servlet dispatches client requests to handlers. The default handler is a controller interface that lets you work with a ModelMap instance

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.

Featured post

Adobe Experience Manager FAQs and other Tips