?? chatroommag.jsp
字號:
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'chatroomMag.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" type="text/css" href="styles.css">
-->
<link rel="stylesheet" rev="stylesheet" href="css/block.css" />
</head>
<body>
<div id="rightWraper">
<div class="text">
<div class="r_title">聊天室管理</div><hr size="1">
<table border=1 cellSpacing=0 cellPadding=2 width=98%>
<tr height="30px">
<td class="bbsclass" align="center" colspan="2">聊天室操作</td>
</tr>
<tr height="3px">
<td colspan="2"></td>
</tr>
<c:forEach items="${sessionScope.chatList}" var="chat">
<tr>
<td class="bbsclass" width="45%"> 聊天室名稱: <b>${chat.name}</b></td>
<td class="bbsclass2">
<a href="web/admin/chatroomUpdate.jsp?id=${chat.id}&name=${chat.name}&maxUserNum=${chat.maxUserNum}">修改</a> |
<a href="servlet/DelChatroomDO?id=${chat.id}">刪除</a> |
</td>
</tr>
</c:forEach>
</table>
</div>
</div>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -