- Mastering Spring 5.0
- Ranga Rao Karanam
- 58字
- 2021-07-02 22:12:11
Flow 3 - Controller redirecting to a View with Model
Typically, in order to generate the view, we would need to pass some data to it. In Spring MVC, data can be passed to the view using a model. In this flow, we would set up a model with a simple attribute and use the attribute in the view.