/ThymeLeafDemo

A demo of ThymeLeaf integration with Spring MVC 3

Primary LanguageJavaScript

ThymeLeaf Demo

Presentation

This is a demo project for ThymeLeaf integration with Spring MVC 3.

This demo is a support for the following articles

[Spring MVC part III: ThymeLeaf integration] (http://doanduyhai.wordpress.com/2012/04/14/spring-mvc-part-iii-thymeleaf-integration/)

[Spring MVC part VI: ThymeLeaf advanced usage] (http://doanduyhai.wordpress.com/2012/04/14/spring-mvc-part-vi-thymeleaf-advanced-usage/)

The official website for ThymeLeaf project is here

Installation

  • Install Maven 3
  • Compile the project with mvn clean install
  • Run Jetty from Maven : mvn jetty:run

Usage

The default users are "ddoan/password" but you can change it in the applicationContext-security.xml file

Note: there is currently no "Logout" link to log out from the application. The security layer & login feature have been added to illustrate ThymeLeaf integration with Spring Security. To logout properly, you can just type http://127.0.0.1:8080/ThymeleafDemo/logout