Let's start developing the applications using Spring MVC.Let's start developing the applications using Spring MVC.
Starting the development using Spring MVC Framework
In this we will quickly start developing the application using Spring MVC module. We will also see what all configuration and code is to be developed. We we will also see how to compile, run the example program.
We will first develop a simple Spring MVC Hello World example and then test on the Tomcat server.
What is required?
In order to complete the tutorial you will need the following software and libraries.
Please make sure that JDK is installed on your computer. Check your Eclipse IDE version, if it is not 3.3 or above download it from the official website at http://www.eclipse.org/downloads/. Also download Spring 2.5.
Understanding the example:
We are going to develop a very simple example that will just print "Hello World" message on the browser. We will use Eclipse IDE to develop run and test the application.
We will have to follow the following steps:
In the next section we will create new project in eclipse and add spring libraries.