This repository has been archived on 2025-01-14. You can view files and clone it, but cannot push or open issues/pull-requests.
2024-12-21 12:31:42 +08:00
|
|
|
<%@ page contentType="text/html; charset=UTF-8" language="java" %>
|
2024-12-20 22:35:13 +08:00
|
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
2024-12-21 12:31:42 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2024-12-20 22:35:13 +08:00
|
|
|
<head>
|
2024-12-21 12:31:42 +08:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>user List</title>
|
2024-12-20 22:35:13 +08:00
|
|
|
</head>
|
|
|
|
<body>
|
2024-12-21 12:31:42 +08:00
|
|
|
<h1>user List</h1>
|
|
|
|
<table border="1">
|
|
|
|
<thead>
|
2024-12-20 22:35:13 +08:00
|
|
|
<tr>
|
2024-12-21 12:31:42 +08:00
|
|
|
<th>ID</th>
|
|
|
|
<th>用户名</th>
|
|
|
|
<th>手机号</th>
|
|
|
|
<th>身份标识</th>
|
|
|
|
<th>Actions</th>
|
2024-12-20 22:35:13 +08:00
|
|
|
</tr>
|
2024-12-21 12:31:42 +08:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<c:forEach var="user" items="${userList}">
|
|
|
|
<tr>
|
|
|
|
<td>${user.id}</td>
|
|
|
|
<td>${user.username}</td>
|
|
|
|
<td>${user.phone}</td>
|
|
|
|
<td>${user.admin}</td>
|
|
|
|
<td>
|
|
|
|
<a href="/edituser?id=${user.id}">Edit</a> |
|
|
|
|
<a href="/deleteuser?id=${user.id}">Delete</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</c:forEach>
|
|
|
|
</tbody>
|
2024-12-20 22:35:13 +08:00
|
|
|
</table>
|
2024-12-21 12:31:42 +08:00
|
|
|
<br/>
|
|
|
|
<!-- <a href="/adduser">Add New user</a> -->
|
2024-12-21 12:40:35 +08:00
|
|
|
<a href="/">主页</a>
|
2024-12-20 22:35:13 +08:00
|
|
|
</body>
|
2024-12-21 12:31:42 +08:00
|
|
|
</html>
|