If i use the MVC pattern to create my Spring project, is it wrong to call the Controller from the View?
Is this schema right?:
- View calls the Controller
- Controller performs operations and put data result into the Model
- View reads data from the Model
Edit:
In my index jsp there is a menu with several categories of articles. I want to pass the name of the category to the controller. The controller calls the method of a beans which executes a query and returns the list of articles presents into the database.The Controller puts this list into the model and the View read this list from the Model.
Thanks