📄 online.jsp
字号:
<%
response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", 0);
%>
<%@ page language="java" import="java.util.*,java.text.NumberFormat" pageEncoding="GBK"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%
String contextPath = request.getContextPath();
%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="<%=contextPath%>/css/css.css" type="text/css" rel="stylesheet" />
</head>
<body>
<table align="center" width=100% border=0 bordercolor="#000000" class="myTable">
<tr><td colspan="2" class = "tableHead">在线列表</td></tr>
<tr>
<td class="button">用户名</td>
</tr>
<c:forEach var="user" items="${applicationScope.online}">
<tr>
<td colspan="2">${user}</td>
</tr>
</c:forEach>
<tr><td class="tableHead" colspan="2"><input class="button" type="button" value="返回" onclick="history.back();"></td><tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -