Jesper de Jong wrote:Ok, you looked at the documentation and you did not get "the required information".
What exactly is "the required information" - what exactly do you want to know that you could not find in the documentation?
API docs of RevisionRepository
Mark Spritzler wrote:Model is an interface. ModelMap is an implementation of the Model interface. ModelAndView is a Model and also has a String to store the view string. ModelAttribute is an attribute in a Model to get it out. ModelAttribute is an Annotation.
Basically when you have data in code and you want to make that data available to the rendering of your jsp page, you need to put that data somewhere so that it is available. That is what a Model is for. To hold that data you retrieved in your code. It is just a glorified map.
So example, I have a form with a backing object with data. The form has three drop downs that I also need data to fill the drop downs. That is 4 different objects. 3 Lists for the drop downs and one object for the form backing object.
If my code gets all this data, I put them into the Model's Map and now I can use them on my jsp page.
Rob Spoor wrote:Tomcat only comes in one edition. What do you need from this "enterprise" edition?