Changed folder structure
This commit is contained in:
@@ -1 +1,5 @@
|
||||
spring.datasource.url=jdbc:sqlserver://DANIEL-LAPTOP\\SQLEXPRESS01:1433;databaseName=AdventureWorks2022;user=Daniel1;password=daniel;encrypt=true;trustServerCertificate=true;
|
||||
spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLServer2008Dialect
|
||||
spring.jpa.hibernate.naming.physical-strategy=com.faf223.expensetrackerfaf.custom.UppercaseStrategy
|
||||
|
||||
|
||||
25
src/main/resources/templates/basic-template.jsp
Normal file
25
src/main/resources/templates/basic-template.jsp
Normal file
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:th="http://www.thymeleaf.org">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Department List</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Department List</h1>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Department ID</th>
|
||||
<th>Name</th>
|
||||
<th>Group Name</th>
|
||||
<th>Modified Date</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr th:each="department : ${basic}">
|
||||
<td th:text="${basic.actorName}"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user