Thymeleaf SQL dialect and example application
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


SQL Thymeleaf Dialect and Example


Once upon a time there were websites with a one to one matching between requests and pages.

Firstly, those pages were just HTML. Then dynamic content was added in the form of SSI or CGI. Later, a lot of websites were made using that paradigm with the ASP, JSP or PHP languages.

As a pastime, this example web application introduces a way of doing PHP-like web pages using Thymeleaf with zero Java code.

Quick start

  1. Download source code
  2. Run mvn jetty:run
  3. Open http://localhost:8080/
  4. You can modify HTML files on src/main/webapp folder on the fly.

To do

There is a lot of room for improvement. For example:

  • Configure a nice ErrorPage
  • Unit test dialect code
  • Allow several queries per page (providing variable name for the result)
  • Add utilities for common tasks: redirection, binary upload...


This software is licensed under the [Apache License 2.0] (