From the course: Spring Web MVC 6
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Fragment the home page into modular components - Spring Tutorial
From the course: Spring Web MVC 6
Fragment the home page into modular components
- [Instructor] Now that we have our index.html flow set up correctly, let's take a closer look at the HTML. This HTML has got a top header section, which has a lot of menu items: Home, Products, About, Contact, etc. Then there is a main section, which displays the content that is very specific to this HTML, and then here is a footer section. Let's head over to the IDE and take a close look at the code. So, on the index.html, you first have the head section, which is referring to a lot of images, fonts, etc, and in the body, we have this header section, we have the main section, that is specific content for index.html, and the footer section. Now, the header and the footer sections will essentially be the same for any other HTML template that will add consequently for the other use cases in this project, which means it is repetitive code, and we do not want that the header and the footer repetitively sits in all…
Contents
-
-
-
Overview of Spring MVC2m 32s
-
(Locked)
Why use Spring MVC?2m 33s
-
(Locked)
Spring MVC request processing flow2m 39s
-
(Locked)
Project development overview3m 8s
-
(Locked)
Use Spring Boot to create an MVC application6m 7s
-
(Locked)
Overview of Thymeleaf2m 56s
-
(Locked)
Set up the Collectibles app7m 10s
-
(Locked)
Set up the home page flow7m 54s
-
(Locked)
Fragment the home page into modular components6m 10s
-
(Locked)
Link HTML pages from the home page9m 8s
-
(Locked)
ViewResolvers3m 3s
-
-
-
-
-
-
-