A simple Thymeleaf tutorial in Spring Boot.
See: https://spring.io/guides/gs/serving-web-content/
Type this | to get this result |
---|---|
mvn package |
to make a jar file |
mvn spring-boot:run |
to run the web app |
in browser: http://localhost:8080/greeting/ |
to see "Hello, World!" |
in browser: http://localhost:8080/greeting?name=Gauchos |
to see "Hello, Gauchos!" |