質問編集履歴
1
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -21,10 +21,10 @@
|
|
21
21
|
@RequestMapping("")
|
22
22
|
public String index() {
|
23
23
|
System.out.println("aaa");
|
24
|
-
return "
|
24
|
+
return "home";
|
25
25
|
}
|
26
26
|
}
|
27
|
-
----------【jsp】----------
|
27
|
+
----------【home.jsp】----------
|
28
28
|
<%@ page language="java" contentType="text/html; charset=utf-8"
|
29
29
|
pageEncoding="utf-8"%>
|
30
30
|
<!DOCTYPE html>
|
@@ -46,9 +46,9 @@
|
|
46
46
|
suffix: .jsp
|
47
47
|
datasource:
|
48
48
|
driver-class-name: org.postgresql.Driver
|
49
|
-
url: jdbc:postgresql://localhost:5432/
|
49
|
+
url: jdbc:postgresql://localhost:5432/xxx
|
50
|
-
username:
|
50
|
+
username: xxxx
|
51
|
-
password:
|
51
|
+
password: xxxx
|
52
52
|
|
53
53
|
----------【pom.xml】----------
|
54
54
|
|