Pello Altadill 5edb9acb95 BAEL-1562 - Working with Fragments in Thymeleaf (#3868)
* BAEL-1562 - Thymeleaf sample working

* BAEL-1562 Code added for Fragments sample

* BAEL-1562 - Last correction for the test

* BAEL-1562 - Thymeleaf sample working

* BAEL-1562 Code added for Fragments sample

* BAEL-1562 - Last correction for the test
2018-04-05 21:46:47 -05:00

33 lines
1.2 KiB
Markdown

=========
## Spring Thymeleaf Example Project
### Relevant Articles:
- [Introduction to Using Thymeleaf in Spring](http://www.baeldung.com/thymeleaf-in-spring-mvc)
- [CSRF Protection with Spring MVC and Thymeleaf](http://www.baeldung.com/csrf-thymeleaf-with-spring-security)
- [Thymeleaf: Custom Layout Dialect](http://www.baeldung.com/thymeleaf-spring-layouts)
- [Spring and Thymeleaf 3: Expressions](http://www.baeldung.com/spring-thymeleaf-3-expressions)
- [Spring MVC + Thymeleaf 3.0: New Features](http://www.baeldung.com/spring-thymeleaf-3)
- [How to Work with Dates in Thymeleaef](http://www.baeldung.com/dates-in-thymeleaf)
- [How to Create an Executable JAR with Maven](http://www.baeldung.com/executable-jar-with-maven)
### Build the Project
mvn clean install
### Run the Project
mvn cargo:run
- **note**: starts on port '8082'
Access the pages using the URLs:
http://localhost:8082/spring-thymeleaf/
http://localhost:8082/spring-thymeleaf/addStudent/
http://localhost:8082/spring-thymeleaf/listStudents/
The first URL is the home page of the application. The home page has links to the other two pages.
### Security
The user/password required is: user1/user1Pass