
上QQ阅读APP看书,第一时间看更新
Creating a View
Let's create a view using the model attribute name that was set in the model in the controller. Create a simple JSP in the /WEB-INF/views/welcome-model-view.jsp path:
Welcome ${name}! This is coming from a model-view - a JSP
Here is a screenshot of how this would look on the screen when the URL is hit:
