ShewitPS / AC4Demo

get it right!!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AC4Demo Part 1

Guided Lab - 309.5.3 - SP5 - How to use - Model, ModelAndView, and @ModelAttribute annotation

Lab Objective In this lab, we will send data from the controller to the template (HTML) by using model, ModelAndView, and @Modelattribute Annotation. In order to do that, we will use Thymeleaf. We will explore more about Thymeleaf later in this lab. There are four examples in this lab.

Learning Objectives Explain how to send data from the controller to the template (HTML) using the model, ModelAndView, and @Modelattribute annotations.

Run the application and type http://localhost:8080/goToViewPage in your browser to see the result

see master2 for latest code updates

About

get it right!!