These exercises introduces the Spring MVC Controller and reviews our Maven setup, Slf4j, and log4j. We will review each of the files, annotations, and definitions we will use to create a simple Spring MVC project. Ex-G2: Make a HelloSpringController2MavenProj using the instructions below Make a copy of our HelloSpringControllerMavenProj and name it HelloSpringController2MavenProj Set your pom.xml groupId to your own and the artifactId to hello-mvc-controller2 Close HelloSpringControllerMavenProj . Use HelloSpringController2MavenProj for this exercise. Change the display name to HelloSpringController2 Add a new index.jsp in the webapp folder <!DOCTYPE html> <jsp:forward page="greeting.htm"/> Change the servlet url to map *.htm Rename your web context root to hello-controller2 Run the project – “Run As” -> “Run On Server” and choose our Tomcat Server Change the url pattern for the servlet to *.htm from *.html Note: STS and Eclipse may not automatically detect changes to xml and properties files. Restart the Tomcat Server or choose “Run As” -> “Run On Server” and choose our Tomcat Server again Browse to localhost:8080/hello-controller2 Page navigation ↑ Spring MVC – Session 3 ← SMVC1: Run HelloSpringController3