How to setup Spring MVC project in Eclipse using Spring Boot

Опубликовано: 29 Сентябрь 2024
на канале: yrrhelp
14,116
140

Full PlayList :
   • Spring MVC Tutorial for beginners  

Easiest Way to Setup Spring MVC application with less configuration using Spring boot

1. Download Spring boot project assets from
https://start.spring.io/

2. Add Maven Dependencies for JSP support

Group Id : org.apache.tomcat.embed
Artifact Id : tomcat-embed-jasper

3. Add View Resolvers in application.properties

spring.mvc.view.prefix=/WEB-INF/jsp/
spring.mvc.view.suffix=.jsp

4. Create Controller and Views.

Link for my Previous Video :

   • Spring Tutorial for Beginners