Posts

Showing posts with the label Spring Boot

Spring Boot, Thymeleaf - File Upload, Download & Delete - Example

Image
Hello everyone, Hope you are doing well. In this post,  will learn how to upload, download, and delete the file with Spring Boot and Thymeleaf. You could download the source code from our GitHub repository. Backend Project Directory Maven [Pom.xml] A Project Object Model or POM is the fundamental unit of work in Maven. It is an XML file that contains information about the project and configuration details utilized by Maven to build the project.  < project xmlns ="http://maven.apache.org/POM/4.0.0" xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance" xsi :schemaLocation ="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" > < modelVersion >4.0.0</ modelVersion > < groupId >com.knf.dev.demo</ groupId > < artifactId >spring-thymeleaf-file-upload-download</ artifactId > < version >1.0</ version > < parent > < groupId >or

Generate Qr Code in Spring boot + Thymeleaf application with ZXing - Example

Image
Hello everyone, today we will learn how to generate the  Qr Code in Spring boot + Thymeleaf  sample application with ZXing . Technology Used JDK 17 Spring Boot 2.7.0 Thymeleaf ZXing library 3.5.0 Maven Final Project Directory Maven[Pom.xml] ZXing Core:  Core barcode encoding/decoding library ZXing Java SE extensions:  Java SE-specific extensions to the core ZXing library <? xml version ="1.0" encoding ="UTF-8" ?> < project xmlns ="http://maven.apache.org/POM/4.0.0" xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation ="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" > < modelVersion >4.0.0</ modelVersion > < parent > < groupId >org.springframework.boot</ groupId > < artifactId >spring-boot-starter-parent</ artifactId > < version >2.7.0</ version > < relativePath /> </ parent &

Spring boot- Generate QR Code and Integrate it in PDF File with ZXing, and iText

Image
Hello everyone, today we will learn how to g enerate a QR Code and integrate it in a PDF file with ZXing, and iText in the spring boot application. Technology Used JDK 17 Spring Boot 2.5.5 ZXing library 3.5.0 iText PDF 5.5.13.3 Maven Final Project Directory Maven[Pom.xml] ZXing Core:  Core barcode encoding/decoding library. ZXing Java SE extensions:  Java SE-specific extensions to the core ZXing library. iText  is a library for creating and manipulating PDF files in Java and .NET. <? xml version ="1.0" encoding ="UTF-8" ?> < project xmlns ="http://maven.apache.org/POM/4.0.0" xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance" xsi :schemaLocation ="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" > < modelVersion >4.0.0</ modelVersion > < groupId >com.knf.dev</ groupId > < artifactId >springboot-zxing-itext-qrcode-pdf</ arti