質問編集履歴
1
jspでデータベースからとってきた情報をテーブルに載せたいのですが。エラーが出てしまいます。
test
CHANGED
File without changes
|
test
CHANGED
@@ -76,8 +76,72 @@
|
|
76
76
|
|
77
77
|
|
78
78
|
|
79
|
+
<table class="emp_list_table">
|
79
80
|
|
81
|
+
<tr>
|
80
82
|
|
83
|
+
<th class="empId">社員ID</th>
|
81
84
|
|
85
|
+
<th class="empName">社員名</th>
|
82
86
|
|
87
|
+
<th class="gender">性別</th>
|
88
|
+
|
89
|
+
<th class="address">住所</th>
|
90
|
+
|
91
|
+
<th class="birthday">生年月日</th>
|
92
|
+
|
93
|
+
<th class="authority">権限</th>
|
94
|
+
|
95
|
+
<th class="deptName">部署名</th>
|
96
|
+
|
97
|
+
<th class="button" colspan="2">操作</th>
|
98
|
+
|
99
|
+
</tr>
|
100
|
+
|
101
|
+
<c:forEach var="emp" items="${empList} ">
|
102
|
+
|
103
|
+
<tr>
|
104
|
+
|
105
|
+
<td>${emp.empId}</td>
|
106
|
+
|
107
|
+
<td>${emp.empName}</td>
|
108
|
+
|
109
|
+
<td>${emp.gender}</td>
|
110
|
+
|
111
|
+
<td>${emp.address}</td>
|
112
|
+
|
113
|
+
<td>${emp.birthday}</td>
|
114
|
+
|
115
|
+
<td>${emp.authority}</td>
|
116
|
+
|
117
|
+
<td>${emp.dept.deptName}</td>
|
118
|
+
|
119
|
+
<td class="button">
|
120
|
+
|
121
|
+
<form action="../update/update_input.html">
|
122
|
+
|
123
|
+
<input type="hidden" name="empId" value="1" />
|
124
|
+
|
125
|
+
<input type="submit" value="変更" />
|
126
|
+
|
127
|
+
</form>
|
128
|
+
|
129
|
+
</td>
|
130
|
+
|
131
|
+
<td class="button">
|
132
|
+
|
133
|
+
<form action="../delete/delete_check.html">
|
134
|
+
|
135
|
+
<input type="hidden" name="empId" value="1" />
|
136
|
+
|
137
|
+
<input type="submit" value="削除" class="delete" />
|
138
|
+
|
139
|
+
</form>
|
140
|
+
|
141
|
+
</td>
|
142
|
+
|
143
|
+
</tr>
|
144
|
+
|
145
|
+
</c:forEach>
|
146
|
+
|
83
|
-
|
147
|
+
</table>
|