Please enable JavaScript.
Coggle requires JavaScript to display documents.
Thymeleaf, com.example.thymeleaffilmdemo - Coggle Diagram
Thymeleaf
Spring Initializr
Dev Tools
Lombok
Maven
Spring Web
Java
Thymeleaf
Spring Data Jpa
MySQL Driver
Data REST
Application properties
Kopiera över det från förra
spring.datasource.username=root
spring.datasource.password=Linsalainen5931
spring.datasource.url=jdbc:mysql://localhost:3306/bankdemo
spring.jpa.hibernate.ddl-auto=create
com.example.thymeleaffilmdemo
packages
resources
static
templates
helloworld.html
tags
!DOCTYPE
<html> </html>
xmlns:th="
http://www.thymeleaf.org
"
lang="eng"
<head> </head>
<body> </body>
Hejsan Svejsan
<p></p>
th:text="'Hej, '+${name}+ '!' "
controllers
Controller
BasicController
constructor
methods
public String HelloWorld
params
RequestParam
String name
Model model
annotations
RequestMapping("/helloworld")
fields
model.addAttribute("name", name)
return "helloworld.html";
fields
annotations
Main klass
ThymeleafApplication -
SpringBootApplication