| 
									
										
										
										
											2021-12-18 17:40:12 +05:30
										 |  |  | ## Spring Thymeleaf 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | This module contains articles about Spring with Thymeleaf | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ### Relevant Articles: 
 | 
					
						
							| 
									
										
										
										
											2021-12-22 19:24:07 +05:30
										 |  |  | - [CSRF Protection with Spring MVC and Thymeleaf](https://www.baeldung.com/csrf-thymeleaf-with-spring-security) | 
					
						
							| 
									
										
										
										
											2021-12-18 17:40:12 +05:30
										 |  |  | - [Conditionals in Thymeleaf](https://www.baeldung.com/spring-thymeleaf-conditionals) | 
					
						
							|  |  |  | - [Iteration in Thymeleaf](https://www.baeldung.com/thymeleaf-iteration) | 
					
						
							|  |  |  | - [Spring with Thymeleaf Pagination for a List](https://www.baeldung.com/spring-thymeleaf-pagination) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ### 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-4/ | 
					
						
							|  |  |  |  - http://localhost:8082/spring-thymeleaf-4/addStudent/ | 
					
						
							|  |  |  |  - http://localhost:8082/spring-thymeleaf-4/listStudents/ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | The first URL is the home page of the application. The home page has links to the second and third pages. | 
					
						
							|  |  |  | 
 |