📘 Premium Read: Access my best content on Medium member-only articles — deep dives into Java, Spring Boot, Microservices, backend architecture, interview preparation, career advice, and industry-standard best practices.
✅ Some premium posts are free to read — no account needed. Follow me on Medium to stay updated and support my writing.
🎓 Top 10 Udemy Courses (Huge Discount): Explore My Udemy Courses — Learn through real-time, project-based development.
▶️ Subscribe to My YouTube Channel (172K+ subscribers): Java Guides on YouTube
- What is Thymeleaf?
- What kind of templates can Thymeleaf process?
- What is a Thymeleaf template?
- Thymeleaf Engine
- Where's a Thymeleaf template processed?
Learn Thymeleaf at https://www.javaguides.net/p/thymeleaf-tutorial.html
What is Thymeleaf?
Learn Spring boot at https://www.javaguides.net/p/spring-boot-tutorial.html
Learn Spring MVC at https://www.javaguides.net/p/spring-mvc-tutorial.html
What kind of templates can Thymeleaf process?
- HTML
- XML
- TEXT
- JAVASCRIPT
- CSS
- RAW
Let's briefly look into these 6 template modes:
- The HTML template mode will allow any kind of HTML input, including HTML5, HTML 4 and XHTML.
- The XML template mode will allow XML input.
- The TEXT template mode will allow the use of a special syntax for templates of a non-markup nature. Examples of such templates might be text emails or templated documentation.
- The JAVASCRIPT template mode will allow the processing of JavaScript files in a Thymeleaf application.
- The CSS template mode will allow the processing of CSS files involved in a Thymeleaf application.
- The RAW template mode will simply not process templates at all. It is meant to be used for inserting untouched resources (files, URL responses, etc.) into the templates being processed.
What is a Thymeleaf template?
- Well, Thymeleaf template can be an HTML page with some Thymeleaf expressions.
- It can also include dynamic content from Thymeleaf expressions.
Thymeleaf Engine
Where's a Thymeleaf template processed?
- Well, in web applications, the Thymeleaf is processed on the server.
- Results are included in the HTML and returned to the browser.
Related Thymeleaf Tutorials and Examples
- Introducing Thymeleaf | Thymeleaf Template | Thymeleaf Template Engine
- Thymeleaf Example with Spring Boot
- How to Add CSS and JS to Thymeleaf
- Add Bootstrap CSS to Thymeleaf
- How to handle null values in Thymeleaf?
- How to Loop a List by Index in Thymeleaf
- Thymeleaf Array Example - Array Index, Array Iteration
- Thymeleaf Enums Example
- Thymeleaf If Else Condition Example
- Thymeleaf Switch Case Example
Comments
Post a Comment
Leave Comment