newslist.jsp
来自「本人编写的基于spring + spring mvc + hibernate架构」· JSP 代码 · 共 38 行
JSP
38 行
<%@ page contentType="text/html; charset=UTF-8" errorPage=""%>
<%@ include file="/WEB-INF/pages/include.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<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/main.css">
</head>
<body>
新闻列表:
<br />
<c:forEach items="${model.news}" var="news">
<tr>
<td>
<c:out value="${news.newsid}" />
</td>
<td>
<c:out value="${news.newstitle}" />
</td>
<td>
<a href="editNews.html?newsid=<c:out value="${news.newsid}" />">编
辑</a>
</td>
<td>
<a href="deleteNews.html?newsid=<c:out value="${news.newsid}" />">删
除</a>
</td>
</tr>
<br />
</c:forEach>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?