Home » Tag Archives: Thymeleaf

Tag Archives: Thymeleaf

Build a new Web Application from scratch using Spring boot, Thymeleaf, AngularJS – Part 3

spring-interview-questions-answers

In the previous blogs we built the landing page using Thymeleaf, Bower and Bootstrap and deployed it to Heroku. In this blog we will introduce some functionality with AngularJS for front end and Spring Boot Webservices at backend. We will begin with Login/Logout section. Lets begin with installing AngularJS in our application using bower. Introducing AngularJS $ bower install angular --save ...

Read More »

Thymeleaf 3 – Get Started Quickly with Thymeleaf 3 and Spring MVC

spring-interview-questions-answers

Thymeleaf 3 release arrived. The new version brings plenty of new features like HTML5 support as well as Text templates support with no markup – [# th:utext="${thymeleaf.version}" /] , improved inline capabilities – <p>Thymeleaf [[${thymeleaf.version}]] is great!</p>, performence improvements and much more. The easiest way the get starter with Thymeleaf 3 and Spring MVC is by using Spring MVC 4 ...

Read More »

Thymeleaf – fragments and angularjs router partial views

java-interview-questions-answers

One more of the many cool features of thymeleaf is the ability to render fragments of templates – I have found this to be an especially useful feature to use with AngularJs. AngularJS $routeProvider or AngularUI router can be configured to return partial views for different “paths”, using thymeleaf to return these partial views works really well. Consider a simple ...

Read More »

Spring MVC and Thymeleaf: how to acess data from templates

spring-interview-questions-answers

In a typical Spring MVC application, @Controller classes are responsible for preparing a model map with data and selecting a view to be rendered. This model map allows for the complete abstraction of the view technology and, in the case of Thymeleaf, it is transformed into a Thymeleaf VariablesMap object that makes all the defined variables available to expressions executed ...

Read More »

HOW-TO: Spring Boot and Thymeleaf with Maven

apache-maven-logo

Spring Boot is a great piece of software allowing you to bootstrap Spring application within a few seconds. And it really works. As little configuration as possible to get started. And still possible to change the defaults. Let’s see how easily is to bootstrap Spring MVC with Thymeleaf and Maven and work with it in IntelliJ. Basic setup Spring MVC ...

Read More »

Thymeleaf integration with Spring (Part 2)

spring-interview-questions-answers

1. Introduction This is the second part of the Thymeleaf integration with Spring tutorial. You can read the first part here, where you will learn how to configure this project. As explained at the beginning of the first part of this tutorial, the web application will send two types of requests:         Insert a new guest: Sends ...

Read More »

Thymeleaf integration with Spring (Part 1)

spring-interview-questions-answers

1.Introduction This article is focused on how Thymeleaf can be integrated with the Spring framework. This will let our MVC web application take advantage of Thymeleaf HTML5 template engine without losing any of the Spring features. The data layer uses Spring Data to interact with a mongoDB database. The example consists in a Hotel’s single page web application from where ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials