BAEL-1088 Jsp page changed to Thymeleaf page (#2706)

* add dependency to pom.xml about thymeleaf

* Update and rename viewPage.jsp to viewPage.html
This commit is contained in:
ahmetcetin39 2017-10-11 10:30:27 +03:00 committed by adamd1985
parent 31f4581de3
commit 5f1c2abc6e
3 changed files with 15 additions and 13 deletions

View File

@ -195,7 +195,11 @@
<artifactId>spring-core</artifactId>
<version>${org.springframework.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
</dependencies>
</dependencyManagement>
@ -280,4 +284,4 @@
</properties>
</project>
</project>

View File

@ -0,0 +1,9 @@
<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>Title</title>
</head>
<body>
<div>Web Application. Passed parameter : th:text="${message}"</div>
</body>
</html>

View File

@ -1,11 +0,0 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>Title</title>
</head>
<body>
<div style="padding: 10px; border-radius: 10px; font-size: 30px; text-align: center;">
Web Application. Passed parameter : ${message}
</div>
</body>
</html>