Created
April 23, 2018 21:46
-
-
Save fuchodeveloper/8f6276469c7e3e1677bfdb9609d87398 to your computer and use it in GitHub Desktop.
Display custom hello message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html xmlns:th="http://www.thymeleaf.org"> | |
<head> | |
<title>Hello Result</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
</head> | |
<body> | |
<h1>Howdy!</h1> | |
<p th:text="'Hello, ' + ${hello.firstName} + ' ' + ${hello.lastName}" /> | |
<a href="/hello">New user?</a> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment