In previous tutorial, we have seen how to create a simple Hello World Spring application using Maven under Eclipse. In the Hello World application, we used annotation. In this tutorial, I will show how to use xml configuration and setter dependency injection. Instead of showing a message in the final view, this time it shows a list of employees. Apr 01, 2011 · However, if map changes dynamically, let’s say by selecting an item from dropdown menu, a new map is generated for iteration, then c:foreach tries to use the first map for iteration which results in incorrect data.. Oct 30, 2012 · When it comes to the view layer, Spring @MVC gives you a variety of choices. In this article, we will first discuss the way you have most likely used the view layer in the past few years: JSP.