Reading-notes

Spring :

Serving Web Content with Spring MVC

-You will build an application that has a static home page and that will also accept HTTP GET requests ,It will respond with a web page that displays HTML. The body of the HTML will contain ur HTML code .

Complete the guide :

Starting with Spring Initializr:

-After that you can Starting with Spring Initializr by use pre-pre-initialized project and click Generate to download a ZIP file or manually by navigating to some thing to pull all the dependencies you need for an application.

About Create a web controller:

You have just developed a web page by using Spring , but for sure go and search to know the exact informations and the commands.

Spring Boot Devtools:

Run the Application :

Build an executable JAR:

Test the Application:

And After All Of That you can Add a Home page of your App by including HTML,CSS and Js , They can be served from your Spring Boot application by dropping them into the right place in the source code.

Spring MVC and Thymeleaf:

What is Thymeleaf:

1.Spring model attributes:

2.Request parameters:

3.Session attributes:

4.ServletContext attributes:

5.Spring beans:

Thymeleaf allows accessing beans registered at the Spring Application Context with the @beanName syntax.

AND That All