20 December 2012

Model in Spring MVC

you can use the model items like ${modelitem} but you had to put the modelitm in the model prior to that, something like model.put(modelitem, "this is modelitem")

Rule of thumb when you need to manipulate data in your MVC application:
Try looking into the referenceData method in your controller, this is the main method grabbing data from resources and adding them into the model object. Look for something like: