Tagged articles

thymeleaf

38 articles · Page 1 of 1
Java Architect Handbook
Java Architect Handbook
Jul 15, 2026 · Backend Development

Build an Electronic Document Signing and Contract System with SpringBoot

This article walks through creating a SpringBoot‑based electronic document signing and contract system, covering the problem background, project structure, Maven setup, key controller and service code, utility classes, deployment steps, and a step‑by‑step demo of drafting, approval, sealing and signing workflows.

MavenSpringBootcontract-system
0 likes · 13 min read
Build an Electronic Document Signing and Contract System with SpringBoot
Cloud Architecture
Cloud Architecture
Jul 6, 2026 · Backend Development

Spring Boot Template Engine Mix: Designing a Multi‑Engine Coexistence Architecture for Production

The article explains why running multiple template engines in a Spring Boot application becomes an operational challenge, outlines a four‑layer architecture and routing strategies, provides concrete code for a custom ViewResolver, configuration, observability, deployment, testing and migration steps, and shows how to govern the process safely in production.

KubernetesSpring Bootfreemarker
0 likes · 39 min read
Spring Boot Template Engine Mix: Designing a Multi‑Engine Coexistence Architecture for Production
Top Architect
Top Architect
Nov 27, 2025 · Backend Development

Master Spring Boot Config Management with Enums and @ConfigurationProperties

This guide shows how to improve Spring Boot configuration management by using Java enums together with @ConfigurationProperties, providing clear, type‑safe settings, reducing magic numbers, and demonstrating a complete example with Maven dependencies, YAML files, a configuration class, controller, and Thymeleaf view.

ConfigurationPropertiesEnumSpring Boot
0 likes · 13 min read
Master Spring Boot Config Management with Enums and @ConfigurationProperties
Architect's Guide
Architect's Guide
Nov 25, 2025 · Backend Development

Managing Spring Boot Configurations with Enums and @ConfigurationProperties

This guide explains how to improve Spring Boot configuration management by defining configuration values as Java enums, mapping them with @ConfigurationProperties, and displaying them via a Thymeleaf front‑end, including Maven dependencies, YAML settings, enum class, config class, controller, and HTML template examples.

ConfigurationPropertiesEnumSpring Boot
0 likes · 11 min read
Managing Spring Boot Configurations with Enums and @ConfigurationProperties
Ray's Galactic Tech
Ray's Galactic Tech
Oct 9, 2025 · Backend Development

Master Spring Boot Internationalization (i18n) in 10 Simple Steps

This guide walks you through configuring Spring Boot for full‑stack internationalization, covering dependency setup, message resource files, application properties, locale resolver and interceptor, controller and service usage, Thymeleaf templates, custom resolvers, testing, and handling static content.

LocalizationSpring Booti18n
0 likes · 10 min read
Master Spring Boot Internationalization (i18n) in 10 Simple Steps
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 13, 2025 · Backend Development

Generate PDFs with Spring Boot 3, iText, and Thymeleaf – 170 Real‑World Cases

This article presents a comprehensive guide to generating PDF documents in Spring Boot 3 applications using iTextpdf and Thymeleaf, covering environment setup, Maven dependencies, data model, HTML template design, controller implementation, and a test case that produces a correctly rendered PDF with external CSS and images.

Spring Bootbackend developmentiTextPDF
0 likes · 9 min read
Generate PDFs with Spring Boot 3, iText, and Thymeleaf – 170 Real‑World Cases
Java Captain
Java Captain
Jul 4, 2025 · Backend Development

Master Spring Boot Configuration with Enums for Cleaner, Maintainable Code

This guide explains how to improve Spring Boot configuration management by mapping external properties to Java enums using @ConfigurationProperties, demonstrating a complete example with Maven dependencies, YAML settings, enum definitions, configuration classes, a controller, and a Thymeleaf view to achieve flexible and readable code.

ConfigurationPropertiesEnumMaven
0 likes · 11 min read
Master Spring Boot Configuration with Enums for Cleaner, Maintainable Code
Java Captain
Java Captain
May 27, 2025 · Backend Development

Resolving Thymeleaf Template Not Found Errors in Spring Boot 3.4.3 When Running as a JAR

After encountering Thymeleaf template parsing failures when packaging a Spring Boot 3.4.3 application as a JAR, the author resolves the issue by configuring the template resolver in Java code, disabling Thymeleaf settings in application.yml, and adjusting ModelAndView paths to omit leading slashes.

ModelAndViewbackend-developmenttemplate-resolver
0 likes · 3 min read
Resolving Thymeleaf Template Not Found Errors in Spring Boot 3.4.3 When Running as a JAR
Java Tech Enthusiast
Java Tech Enthusiast
Feb 11, 2025 · Backend Development

Using Enums for Configuration Management in Spring Boot

The article shows how to replace hard‑coded strings in Spring Boot configuration files with type‑safe Java enums, using @ConfigurationProperties to bind YAML values to enum fields, thereby improving readability, maintainability, and eliminating magic numbers, illustrated through a user‑role example with controller and Thymeleaf view.

ConfigurationPropertiesEnumMaven
0 likes · 12 min read
Using Enums for Configuration Management in Spring Boot
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 4, 2025 · Backend Development

How to Add Domain-Based Verification to Spring Security Login in Spring Boot 3

This article announces a Spring Boot 3 case collection with 90 permanent examples, then walks through extending Spring Security login to include domain verification by defining a User entity, repository, custom filter, security configuration, Thymeleaf login page, controller, and test endpoint, complete with code snippets and screenshots.

Custom AuthenticationDomain LoginSpring Boot
0 likes · 11 min read
How to Add Domain-Based Verification to Spring Security Login in Spring Boot 3
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 15, 2024 · Backend Development

Implementing a View‑Once Image Feature with Spring Boot and MySQL

This guide explains how to design and build a privacy‑focused, view‑once image sharing system using Spring Boot, MySQL, Thymeleaf, and optional cloud storage, covering requirements analysis, architecture, environment setup, code implementation, security considerations, performance optimizations, testing, and deployment.

Image BurnMySQLSpring Boot
0 likes · 15 min read
Implementing a View‑Once Image Feature with Spring Boot and MySQL
ITPUB
ITPUB
Oct 24, 2024 · Backend Development

How We Boosted a Category Tree API from 100 QPS to 500+ with 5 Optimizations

This article recounts five successive performance optimizations applied to a SpringBoot‑Thymeleaf category‑tree API—adding Redis caching, scheduled async refresh jobs, local Caffeine memory cache, gzip compression via Nginx, and Redis data slimming—transforming query latency and scaling QPS from around 100 to over 500.

CaffeineRedisSpringBoot
0 likes · 10 min read
How We Boosted a Category Tree API from 100 QPS to 500+ with 5 Optimizations
Su San Talks Tech
Su San Talks Tech
Sep 29, 2024 · Backend Development

5 Proven Optimizations That Supercharged Our Category Tree API Performance

This article walks through five successive performance optimizations—adding Redis caching, scheduling async updates, introducing a Caffeine local cache, enabling Nginx GZip compression, and compressing Redis data—to dramatically reduce the size and latency of a category‑tree API in a SpringBoot application.

CaffeineSpringBootgzip
0 likes · 10 min read
5 Proven Optimizations That Supercharged Our Category Tree API Performance
IT Services Circle
IT Services Circle
May 16, 2023 · Backend Development

Multi‑Stage Optimization of Category Tree Queries in a SpringBoot Application

This article details a step‑by‑step performance optimization of a category‑tree query in a SpringBoot‑Thymeleaf e‑commerce system, covering initial Redis caching, periodic job updates, local Caffeine cache, Gzip compression, data slimming, and byte‑level compression to dramatically improve response times and reduce Redis key size.

CaffeineSpringBootcaching
0 likes · 9 min read
Multi‑Stage Optimization of Category Tree Queries in a SpringBoot Application
Su San Talks Tech
Su San Talks Tech
May 14, 2023 · Backend Development

How We Boosted a Classification Tree API 10× Faster with 5 Smart Optimizations

In this article we walk through five successive optimizations—adding Redis caching, scheduling asynchronous jobs, introducing local Caffeine cache, enabling Nginx GZip compression, and slimming Redis data—to dramatically improve the performance of a SpringBoot‑Thymeleaf classification‑tree query, reducing response size from 1 MB to 100 KB and raising QPS from 100 to over 500.

CaffeineNginxRedis
0 likes · 10 min read
How We Boosted a Classification Tree API 10× Faster with 5 Smart Optimizations
JD Cloud Developers
JD Cloud Developers
Mar 8, 2023 · Backend Development

Mastering Web Pagination: Database, Backend, and Frontend Techniques

This article explores web pagination across database, backend, and frontend layers, detailing MySQL LIMIT syntax, Java pagination implementations with PageHelper and Spring Data JDBC, and UI approaches using Thymeleaf and Element UI, providing code examples and comparative insights for developers.

Element UIMySQLSpring
0 likes · 9 min read
Mastering Web Pagination: Database, Backend, and Frontend Techniques
Dada Group Technology
Dada Group Technology
Nov 28, 2022 · Information Security

Analyzing Java Template Engine Injection Vulnerabilities and Building Automated Detection Capabilities

This article examines injection vulnerabilities in Java template engines Velocity, FreeMarker, and Thymeleaf, details payload extraction, demonstrates how to generate automated detection rules and security operation capabilities, and discusses future directions for comprehensive attack‑chain analysis.

freemarkerjavapayload detection
0 likes · 12 min read
Analyzing Java Template Engine Injection Vulnerabilities and Building Automated Detection Capabilities
Java High-Performance Architecture
Java High-Performance Architecture
Jul 14, 2022 · Information Security

Master Spring Security: Build a Robust Role‑Based Permission System in SpringBoot

This guide walks through creating a complete SpringBoot permission management system using SpringSecurity, covering database design, Maven setup, entity classes, security configuration, utility methods, dynamic menu loading, Thymeleaf menu rendering, and testing with role‑based access control.

JPARole-Based Accesspermission-management
0 likes · 22 min read
Master Spring Security: Build a Robust Role‑Based Permission System in SpringBoot
Java Captain
Java Captain
Apr 17, 2022 · Backend Development

Kindergarten Management System – Overview, Tech Stack, Deployment Guide, and Backend Controller Code

The article presents a kindergarten management system featuring three user roles, outlines its Spring Boot and Thymeleaf technology stack, details required runtime and database environments, provides step‑by‑step deployment instructions, and includes complete backend controller source code for user, teacher, student, and school management functionalities.

MySQLREST APISpring Boot
0 likes · 19 min read
Kindergarten Management System – Overview, Tech Stack, Deployment Guide, and Backend Controller Code
Architect's Tech Stack
Architect's Tech Stack
Sep 19, 2021 · Backend Development

Spring Boot Template Engine Hot Deployment Techniques

This article explains how to disable template engine caching and use various hot‑deployment methods—including property settings, Debug mode, spring‑boot‑devtools, Spring Loaded, and JRebel—to achieve real‑time updates of Spring Boot web pages.

DevToolsHot Deploymenttemplate engine
0 likes · 4 min read
Spring Boot Template Engine Hot Deployment Techniques
Top Architect
Top Architect
Jun 22, 2021 · Backend Development

Step-by-Step Guide to Building a Spring Boot Project with MyBatis and MySQL

This tutorial walks through creating a Spring Boot project, configuring Maven dependencies, setting up application.yml and properties, defining POJOs, MyBatis mapper XML, service and controller layers, and building simple Thymeleaf login and registration pages, with full code snippets for each step.

MyBatisMySQLSpring Boot
0 likes · 10 min read
Step-by-Step Guide to Building a Spring Boot Project with MyBatis and MySQL
Xianyu Technology
Xianyu Technology
Mar 4, 2021 · Frontend Development

Solving CORS Issues When Integrating React Frontend with Java Backend

Integrating a React front‑end with a Java back‑end required fixing HTTPS‑to‑HTTP CORS errors by serving the React index.html from the backend, switching @RestController to @Controller for sub‑path routing, adding Thymeleaf, using a Chrome redirect plugin and crossorigin tags, and disabling lazy‑loaded asset URLs during local development, highlighting that true front‑end/back‑end separation remains elusive.

CORSReActSpring
0 likes · 5 min read
Solving CORS Issues When Integrating React Frontend with Java Backend
Java Captain
Java Captain
Feb 21, 2021 · Backend Development

Step-by-Step Guide to Building a Spring Boot Application with MyBatis and MySQL

This tutorial walks through creating a Spring Boot project, configuring Maven dependencies, setting up MySQL with MyBatis, defining entity, mapper, service, and controller layers, and building simple Thymeleaf login and registration pages, culminating in a runnable dynamic authentication demo.

MyBatisMySQLSpring Boot
0 likes · 16 min read
Step-by-Step Guide to Building a Spring Boot Application with MyBatis and MySQL
Selected Java Interview Questions
Selected Java Interview Questions
Aug 12, 2020 · Information Security

Integrating Apache Shiro with Spring Boot for Permission Management

This article demonstrates how to integrate the Apache Shiro security framework into a Spring Boot application, covering Maven dependencies, Shiro configuration, custom Realm implementation, login authentication, controller-level access control, and Thymeleaf front‑end button visibility based on roles and permissions.

Permission ManagementSpring Bootjava
0 likes · 13 min read
Integrating Apache Shiro with Spring Boot for Permission Management
Senior Brother's Insights
Senior Brother's Insights
Mar 7, 2020 · Backend Development

Enable Automatic Hot Reload in Spring Boot with DevTools

This guide shows how to add Spring Boot DevTools, configure Maven and IntelliJ IDEA, and use both manual and automatic hot‑deployment techniques—including registry tweaks and template cache settings—to achieve instant code changes without restarting the application.

DevToolsIntelliJ IDEAMaven
0 likes · 6 min read
Enable Automatic Hot Reload in Spring Boot with DevTools
Programmer DD
Programmer DD
Feb 23, 2020 · Backend Development

How to Build Dynamic Web Pages with Spring Boot and Thymeleaf

This tutorial explains how to serve static resources, configure Thymeleaf as the template engine, and create a Spring Boot controller that renders HTML pages, including step‑by‑step code examples and configuration tips for customizing template locations and caching.

Spring Bootbackendjava
0 likes · 10 min read
How to Build Dynamic Web Pages with Spring Boot and Thymeleaf
Senior Brother's Insights
Senior Brother's Insights
Jan 14, 2020 · Backend Development

Quick Start Guide: Using Thymeleaf with Spring Boot

This tutorial walks through the fundamentals of Thymeleaf, its key features, a side‑by‑side comparison with FreeMarker, and provides a complete Spring Boot example—including Maven dependencies, entity and controller code, template markup, and essential configuration settings—to help developers integrate the template engine quickly and correctly.

MVCSpring BootWeb Development
0 likes · 8 min read
Quick Start Guide: Using Thymeleaf with Spring Boot
Architect's Tech Stack
Architect's Tech Stack
Dec 17, 2019 · Backend Development

Spring Boot Template Engine Hot Deployment Techniques

This article explains how to disable template caching in Spring Boot for Thymeleaf, FreeMarker, Groovy, and Velocity, and compares several hot‑deployment methods including Debug mode, spring-boot-devtools, Spring Loaded, and JRebel, providing configuration snippets and practical guidance.

DevToolsHot DeploymentJRebel
0 likes · 3 min read
Spring Boot Template Engine Hot Deployment Techniques
Java Captain
Java Captain
Sep 17, 2018 · Backend Development

Implementing WeChat QR Code Login with Spring Boot and Thymeleaf

This tutorial explains how to build a WeChat QR‑code login system using Spring‑Boot, Thymeleaf, HttpClient and JSON, covering preparation steps, project configuration, OAuth2 flow, code examples for generating QR pages, handling callbacks, and customizing the login experience.

OAuth2QR loginSpring Boot
0 likes · 10 min read
Implementing WeChat QR Code Login with Spring Boot and Thymeleaf
Programmer DD
Programmer DD
Jan 22, 2018 · Information Security

Step‑by‑Step Spring Security Demo: Login, Logout and Page Protection

This tutorial walks through a complete Spring Boot demo that sets up Maven dependencies, creates Thymeleaf front‑end pages (home, login, hello), implements a main Application class, a HomeController, and a WebSecurityConfig to secure the application with in‑memory authentication, illustrating how to protect URLs, configure a custom login page, and enable logout functionality.

Spring BootWeb Authenticationjava
0 likes · 7 min read
Step‑by‑Step Spring Security Demo: Login, Logout and Page Protection
Programmer DD
Programmer DD
Aug 2, 2017 · Backend Development

How to Serve Static Resources and Render Pages with Spring Boot & Thymeleaf

This guide explains how Spring Boot serves static assets from classpath directories, how to configure and access them, and how to render dynamic HTML pages using Thymeleaf—including template locations, sample code, and property customizations for seamless web development.

Spring BootWeb Developmentstatic resources
0 likes · 7 min read
How to Serve Static Resources and Render Pages with Spring Boot & Thymeleaf