From 5f1c2abc6e4ab166a6517b8f9b4fa1daceb3f03f Mon Sep 17 00:00:00 2001 From: ahmetcetin39 <30636222+ahmetcetin39@users.noreply.github.com> Date: Wed, 11 Oct 2017 10:30:27 +0300 Subject: [PATCH] BAEL-1088 Jsp page changed to Thymeleaf page (#2706) * add dependency to pom.xml about thymeleaf * Update and rename viewPage.jsp to viewPage.html --- spring-all/pom.xml | 8 ++++++-- spring-all/src/main/webapp/WEB-INF/view/viewPage.html | 9 +++++++++ spring-all/src/main/webapp/WEB-INF/view/viewPage.jsp | 11 ----------- 3 files changed, 15 insertions(+), 13 deletions(-) create mode 100644 spring-all/src/main/webapp/WEB-INF/view/viewPage.html delete mode 100644 spring-all/src/main/webapp/WEB-INF/view/viewPage.jsp diff --git a/spring-all/pom.xml b/spring-all/pom.xml index 1ecb824c40..6615e1d6cd 100644 --- a/spring-all/pom.xml +++ b/spring-all/pom.xml @@ -195,7 +195,11 @@ spring-core ${org.springframework.version} - + + + org.springframework.boot + spring-boot-starter-thymeleaf + @@ -280,4 +284,4 @@ - \ No newline at end of file + diff --git a/spring-all/src/main/webapp/WEB-INF/view/viewPage.html b/spring-all/src/main/webapp/WEB-INF/view/viewPage.html new file mode 100644 index 0000000000..71f766407e --- /dev/null +++ b/spring-all/src/main/webapp/WEB-INF/view/viewPage.html @@ -0,0 +1,9 @@ + + + + Title + + +
Web Application. Passed parameter : th:text="${message}"
+ + diff --git a/spring-all/src/main/webapp/WEB-INF/view/viewPage.jsp b/spring-all/src/main/webapp/WEB-INF/view/viewPage.jsp deleted file mode 100644 index ca638b33f5..0000000000 --- a/spring-all/src/main/webapp/WEB-INF/view/viewPage.jsp +++ /dev/null @@ -1,11 +0,0 @@ -<%@ page contentType="text/html;charset=UTF-8" language="java" %> - - - Title - - -
- Web Application. Passed parameter : ${message} -
- -