java-tutorials/spring-thymeleaf/README.md

37 lines
1.5 KiB
Markdown
Raw Normal View History

2015-12-09 07:43:30 -05:00
=========
## Spring Thymeleaf Example Project
### Relevant Articles:
2016-10-04 05:26:33 -04:00
- [Introduction to Using Thymeleaf in Spring](http://www.baeldung.com/thymeleaf-in-spring-mvc)
2016-10-04 05:33:02 -04:00
- [CSRF Protection with Spring MVC and Thymeleaf](http://www.baeldung.com/csrf-thymeleaf-with-spring-security)
2016-11-11 05:44:13 -05:00
- [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)
2017-01-10 13:34:18 -05:00
- [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)
- [Working with Booleans in Thymeleaf](http://www.baeldung.com/working-with-booleans-in-thymeleaf)
- [Working with Fragments in Thymeleaf](http://www.baeldung.com/spring-thymeleaf-fragments)
- [Conditionals in Thymeleaf](http://www.baeldung.com/spring-thymeleaf-conditionals)
2016-11-03 06:47:43 -04:00
2015-12-09 07:43:30 -05:00
### Build the Project
2015-12-20 11:13:31 -05:00
2015-12-09 07:43:30 -05:00
mvn clean install
2016-11-03 06:47:43 -04:00
2015-12-20 11:13:31 -05:00
### 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/
- http://localhost:8082/spring-thymeleaf/booleans/
2015-12-20 11:13:31 -05:00
The first URL is the home page of the application. The home page has links to the second and third pages.
### Security
The user/password required is: user1/user1Pass