Spring Boot MVC implementations. Creating a MVC Controller:
Add tomcat jasper as a server to translate from JSP to Servlet.
RequestParam : To remove usage of req.getParameter.
Suffix and Prefix:
To have flexibility in changing the type of the file and path. Remove the Hard-coded part from the view names, create a new views folder, and then Change properties in the application.properties file.
Model and ModelMap Implementation:
Need Of Model Attribute :
Using Model Attribute in Method Level:
Using GET and POST Methods in Spring Boot: