Java back-end server programming; includes various exercises
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
814 B

  1. <!DOCTYPE html>
  2. <html lang="en" xmlns:th="http://www.thymeleaf.org">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <title>Customer SQL data dump</title>
  6. </head>
  7. <body>
  8. <h1>Customer SQL data dump</h1>
  9. <table>
  10. <tr>
  11. <th>First Name</th>
  12. <th>First Name</th>
  13. <th>Sex</th>
  14. <th>Language</th>
  15. <th>Engagement Level</th>
  16. <th>Email Address</th>
  17. <th>Phone Number</th>
  18. </tr>
  19. <tr th:each="customer : ${customers}">
  20. <td th:text="${customer.firstName}"></td>
  21. <td th:text="${customer.lastName}"></td>
  22. <td th:text="${customer.sex}"></td>
  23. <td th:text="${customer.language}"></td>
  24. <td th:text="${customer.engagement}"></td>
  25. <td th:text="${customer.email}"></td>
  26. <td th:text="${customer.phone}"></td>
  27. </tr>
  28. </table>
  29. </body>
  30. </html>