chatroomshow.jsp

来自「一个bbs论坛系统」· JSP 代码 · 共 39 行

JSP
39
字号
<%@ 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 'chatroomShow.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>&nbsp;&nbsp;&nbsp;→&nbsp;&nbsp;聊天室列表</div>
  		<br>
  		<table border="0.5px" width="30%">
  		 <c:forEach items="${applicationScope.chatroomList}" var="chatroomPO">
				<tr align="middle" height="25px">
					<td width="50%">聊天室名称:</td>
				  	<td width="50%"><a href="ChatroomLoginDO?chatroomName=${chatroomPO.name}">${chatroomPO.name}</a></td>
				</tr>
				</c:forEach>
		</table>	
  	</div>
  </body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?