Software Requirements
- Eclipse Mars 2
- Java, jdk 1.6 and above
- Spring 4 jar files(download)
- Apache Tomcat 7
Step 1: Create a Dynamic Web Project(File>New>Dynamic Web Project)
Step 2: Create project folder and packages as shown below
Step 3: Add required Spring MVC libs
Step 5: Add following code in servlet-context.xml
Step 10: Open the browser and open http://localhost:8080/SpringMvcBySarthak/hello
GitHub of the project here
One thought on “Spring MVC Project: Setup”