📄 online.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'online.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" href="css/block.css" />
</head>
<body>
<div id="rightWraper">
<div class="text">
<br/>
<div> → 在线用户列表</div>
<br/>
<table border="1" width="98%" align="center">
<tr align="middle" height="25px">
<td>用户</td>
<td>级别</td>
<td>财富</td>
<td>Email</td>
</tr>
<c:forEach items="${applicationScope.userList}" var="userPO">
<tr align="middle" height="25px">
<td width="25%">${userPO.name}</td>
<td width="25%">${userPO.level.name}</td>
<td width="25%">${userPO.wealth}</td>
<td width="25%">${userPO.email}</td>
</tr>
</c:forEach>
</table>
<table width="98%" align=center>
<tr align=middle>
<td>版权:lovo39部5组</td>
</tr>
<tr align=middle>
<td>联系电话:13094419684</td>
</tr>
<tr align=middle>
<td>Email:xingge163@163.com</td>
</tr>
</table>
</div>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -