Create a new spring project using spring initializer
Use an MVC approach to the project
Create a total of three views need to be created with the following
index.html
Provide greetings on this page and a link to a form
register_form.html
Introduce a simple form asking a user whether they like java and input their name and emails with an option to add their names to a mailing list.
register_success.html
On submission of the form, the user must be directed to this page. Display an appropriate message for their selected choice for a) adding them to the mailing list, and b) is java fun to learn along with their email id.
All the links and forms must be directed and served using a controller class
Use Thymeleaf template engine to display template strings and other necessities in html
Run the project on tomcat, by default port 8080.