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

📄 linkselect.jsp

📁 新闻网(news) 带使用说明书 可以用作课程设计
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="java.util.List"%>
<%@ page import="java.sql.*"%>
<%@ page import="com.victor.domain.LinkActionForm"%>
<html>
<head>
<title>链接信息</title>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
}
td{
font-size:9pt;
}
.style1 {
	color: #FF9900;
	font-weight: bold;
}
-->
</style></head>
<script Language="JavaScript">
function projectDelete(date){
if(confirm("是否删除流水号为["+date+"]的一组数据吗?"))
window.location="linkDeleteAction.do?ID="+date;

}
</script>
<%List list=(List)request.getAttribute("linkList");%>
<body>
<table width="568" height="419"  border="0" cellpadding="2" cellspacing="1" bgcolor="#052754">
  <tr>
    <td align="center" valign="top" bgcolor="#FFFFFF">
  <p class="style1"><br>
    <br>
    <br>
    链接信息</p>
  <table width="510" border="0" cellpadding="2" cellspacing="1" bgcolor="#052754">
    <tr align="center" bgcolor="#0099cc">
      <td width="35" height="24">ID</td>
    
      <td width="113">链接网站名称</td>
      <td width="86">链接的地址</td>
      <td width="73">发布时间</td>
      <td width="86">操作</td>
    </tr>
<%for(int i=0;i<list.size();i++){
LinkActionForm linkActionForm=(LinkActionForm)list.get(i);
%>
    <tr bgcolor="#ffffff">
      <td height="24"><%=linkActionForm.getLinkID()%></td>
    
      <td><%=linkActionForm.getLinkName()%></td>
      <td><%=linkActionForm.getLinkAddress()%></td>
      <td><%=linkActionForm.getLinkIssueDate()%></td>
      <td align="center"><a href="linkSelectOneAction.do?ID=<%=linkActionForm.getLinkID()%>">修改</a>&nbsp;&nbsp;&nbsp;<a href="javascript:projectDelete('<%=linkActionForm.getLinkID()%>')">删除</a></td>
    </tr>
<%}%>
  </table>
  <p><a href="jsp/managerBack/linkManager/linkInsert.jsp"><font style="font-size:9pt;">添加链接信息</font></a></p>	</td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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