上QQ阅读APP看书,第一时间看更新
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.