回答編集履歴
2
既にある処理を削除
test
CHANGED
@@ -12,6 +12,4 @@
|
|
12
12
|
|
13
13
|
request.setAttribute("book", book);
|
14
14
|
|
15
|
-
request.getRequestDispatcher("/jsp/select/list.jsp").forward(request, response);
|
16
|
-
|
17
15
|
```
|
1
変数名を遷移先に合わせた。
test
CHANGED
@@ -8,9 +8,9 @@
|
|
8
8
|
|
9
9
|
```java
|
10
10
|
|
11
|
-
List<Book> book
|
11
|
+
List<Book> book = BookSerchDao.findAll();
|
12
12
|
|
13
|
-
request.setAttribute("book
|
13
|
+
request.setAttribute("book", book);
|
14
14
|
|
15
15
|
request.getRequestDispatcher("/jsp/select/list.jsp").forward(request, response);
|
16
16
|
|