⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 newsmanage.jsp

📁 学校新闻发布系统
💻 JSP
字号:
<%@ page language="java" import="java.util.*,org.news.pojo.*"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>

<html>
	<head>
		<title>新闻管理</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">
	-->
		<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
	color: #000000;
}

body {
	background-color: #CCCCCC;
}

.STYLE3 {
	color: #006600
}

.STYLE4 {
	font-weight: bold;
	font-size: xx-large;
	color: #003300;
}

a {
	font-size: 12px;
	color: #880066;
}

a:link {
	text-decoration: none;
	color: #000000;
}

a:visited {
	text-decoration: none;
	color: #000000;
}

a:hover {
	text-decoration: none;
	color: #FF00FF;
}

a:active {
	text-decoration: none;
	color: #9900FF;
}

.STYLE5 {
	color: #000000
}
-->
</style>

	</head>


	<body bgColor=#ecf1f9>
		<div>
			<h1 align="center">
				<font color="#7060cc">新闻管理</font>
			</h1>
		</div>
		<table width="600" border="1" bgcolor="#ecf1f9" align="center">
			<tbody>
				<tr>
					<th>
						序号
					</th>
					<th>
						标题
					</th>
					<th>作者</th>
					<th>
						添加时间
					</th>
					<th colspan="2">
						管理
					</th>
				</tr>

				<%
					int i = 0;
				%>
				<logic:iterate id="newsList" name="newsList">
					<tr>
						<td><%=++i%>
						</td>
						<td>
							<html:link action="/newsListRight?state=view" paramId="newsId"
								paramName="newsList" paramProperty="id">
								<bean:write name="newsList" property="title" />
							</html:link>
						</td>
						<td><bean:write name="newsList" property="author"/></td>
						<td>
							<bean:write name="newsList" property="addTime" />
						</td>
						<td>
							<html:link action="/newsListRight?state=fill" paramId="newsId"
								paramName="newsList" paramProperty="id">修改</html:link>
						</td>
						<td>
							<html:link action="/newsDelete" paramId="newsId"
								paramName="newsList" paramProperty="id" onclick="return window.confirm('确定要删除这条记录吗?')">删除</html:link>
						</td>
					</tr>
				</logic:iterate>

			</tbody>
		</table>
	</body>
</html>

⌨️ 快捷键说明

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