- Mastering Spring 5.0
- Ranga Rao Karanam
- 56字
- 2025-04-04 19:05:29
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:
