Skip to content

Commit 5f1c2ab

Browse files
ahmetcetin39adamd1985
authored andcommitted
BAEL-1088 Jsp page changed to Thymeleaf page (eugenp#2706)
* add dependency to pom.xml about thymeleaf * Update and rename viewPage.jsp to viewPage.html
1 parent 31f4581 commit 5f1c2ab

3 files changed

Lines changed: 15 additions & 13 deletions

File tree

‎spring-all/pom.xml‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,11 @@
195195
<artifactId>spring-core</artifactId>
196196
<version>${org.springframework.version}</version>
197197
</dependency>
198-
198+
199+
<dependency>
200+
<groupId>org.springframework.boot</groupId>
201+
<artifactId>spring-boot-starter-thymeleaf</artifactId>
202+
</dependency>
199203
</dependencies>
200204

201205
</dependencyManagement>
@@ -280,4 +284,4 @@
280284

281285
</properties>
282286

283-
</project>
287+
</project>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!DOCTYPE HTML>
2+
<html xmlns:th="http://www.thymeleaf.org">
3+
<head>
4+
<title>Title</title>
5+
</head>
6+
<body>
7+
<div>Web Application. Passed parameter : th:text="${message}"</div>
8+
</body>
9+
</html>

‎spring-all/src/main/webapp/WEB-INF/view/viewPage.jsp‎

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)