-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuserList.jsp
More file actions
83 lines (50 loc) · 1.38 KB
/
userList.jsp
File metadata and controls
83 lines (50 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<%@ page language="java" contentType="text/html; charset=EUC-KR"
pageEncoding="EUC-KR"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<title>사용자 관리</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h2 class="text-center">사용자 목록</h2>
<table class="table table-bordered table table-hover">
<thead>
<tr>
<th>아이디</th>
<th>이름</th>
<th>성별</th>
<th>거주지</th>
<th> </th>
<th> </th>
</tr>
</thead>
<tbody>
<c:forEach var="user" items="${userList}">
<tr>
<td>
<a href="getUser.do?id=${user.userId}">${user.userId}</a>
</td>
<td>${user.name}</td>
<td>${user.gender}</td>
<td>${user.city}</td>
<td>
<a href="updateUserForm.do?id=${user.userId}">수정</a>
</td>
<td><a href="deleteUser.do/${user.userId}">삭제</a></td>
</tr>
</c:forEach>
<tr>
<td colspan="7">
<a href="insertUserForm.do">사용자 등록</a>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>