This repository contains an example Spring Boot project focusing on the usage of conditionals in Thymeleaf templates. It also demonstrates how to manipulate data from Java POJO classes and transfer it to an HTML table structure using Thymeleaf.
In this project, I've explored the usage of conditionals in Thymeleaf templates within a Spring Boot application. I've also learned how to retrieve data from Java POJO classes and present it in an HTML table format using Thymeleaf. By working on this project, I've gained hands-on experience with Thymeleaf, Spring Boot, and data manipulation techniques.
- Demonstrates usage of conditionals in Thymeleaf templates.
- Utilizes Java POJO classes to retrieve data.
- Presents data in an HTML table format using Thymeleaf.
To run this project locally, follow these steps:
-
Clone this repository to your local machine:
git clone https://github.com/aytekinkaplan/thymeleaf_conditionals.git
1.Navigate to the project directory:
cd thymeleaf_conditionals
2.Build the project using Maven:
mvn clean package
3.Run the Spring Boot application:
java -jar target/thymeleaf-conditionals-1.0.jar
Once the application is running, open a web browser and visit http://localhost:8080 to view the application.
Contribution Contributions to this project are welcome! If you have any suggestions, improvements, or feature requests, feel free to submit a pull request.
If you have any specific updates or modifications you'd like to make, feel free to let me know!