spring boot + Spring MVC + Maven + JSP example
Spring boot jsp example Directory Structure pom.xml file Modify auto created POM file. We need to add parent in pom to make it a spring boot application. After that add spring-boot-starter-web dependency and java version. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>codesjava</groupId> <artifactId>SpringBoot02</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging> <name>SpringBoot02</name> <url>http://maven.apache.org</url> <properties> <java.version>1.8</java.version> </properties> <parent> … Read more