<%@ page contentType=“text/html;charset=UTF-8” language=“java” %>
<%@ taglib prefix=“c” uri=“http://java.sun.com/jsp/jstl/core” %>
<c:choose>
<c:when test="${!empty u}">
<h1>${param.name}详细信息</h1>
<table class="layui-table">
<colgroup>
<col width="60">
<col width="150">
<col width="150">
<col>
</colgroup>
<thead>
<tr>
<th>ID</th>
<th>姓名</th>
<th>密码</th>
</tr>
</thead>
<tbody>
<tr>
<td>${param.id}</td>
<td>${param.username}</td>
<td>${param.userpass}</td>
</tr>
</tbody>
</table>
<script src="layui/layui.js"></script>
</c:when>
<c:otherwise>
<span>您还没有登录,请您先<a href="log.html">登录</a></span>
<hr>
</c:otherwise>
</c:choose>
</body>