Skip to content

aytekinkaplan/thymeleaf_conditionals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thymeleaf Conditionals Example

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.

Introduction

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.

Features

  • Demonstrates usage of conditionals in Thymeleaf templates.
  • Utilizes Java POJO classes to retrieve data.
  • Presents data in an HTML table format using Thymeleaf.

Getting Started

To run this project locally, follow these steps:

  1. 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!