1.7 KiB
1.7 KiB
=========
Spring Thymeleaf Example Project
Relevant Articles:
- Introduction to Using Thymeleaf in Spring
- CSRF Protection with Spring MVC and Thymeleaf
- Thymeleaf: Custom Layout Dialect
- Spring and Thymeleaf 3: Expressions
- Spring MVC + Thymeleaf 3.0: New Features
- How to Work with Dates in Thymeleaef
- How to Create an Executable JAR with Maven
- Working with Boolean in Thymeleaf
- Working with Fragments in Thymeleaf
- Conditionals in Thymeleaf
- Iteration in Thymeleaf
- Working With Arrays in Thymeleaf
- Spring with Thymeleaf Pagination for a List
Build the Project
mvn clean install
Run the Project
mvn cargo:run
- note: starts on port '8082'
Access the pages using the URLs:
- http://localhost:8082/spring-thymeleaf/
- http://localhost:8082/spring-thymeleaf/addStudent/
- http://localhost:8082/spring-thymeleaf/listStudents/
- http://localhost:8082/spring-thymeleaf/booleans/
The first URL is the home page of the application. The home page has links to the second and third pages.
Security
The user/password required is: user1/user1Pass