?? typenewswathch.jsp
字號:
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="java.util.List"%>
<%@ page import="java.sql.*"%>
<%@ page import="com.victor.domain.NewsActionForm"%>
<%@ page import="com.victor.tool.Chinese"%>
<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+"]的一組數(shù)據(jù)嗎?"))
window.location="deleteNewsAction.do?newsID="+date;
}
</script>
<%List list=(List)request.getAttribute("newsList");
%>
<body>
<table width="568" height="419" border="0" cellpadding="2" cellspacing="1" bgcolor="#052754">
<tr>
<td valign="top" bgcolor="#FFFFFF">
<div align="center" s>
<p class="style1"><br>
<br>
<br>
查看全部的新聞</p>
<table width="531" border="0" cellpadding="2" cellspacing="1" bgcolor="#052754">
<tr align="center" bgcolor="#0099cc">
<td width="37" height="24">ID</td>
<td width="88" align="center">標題</td>
<td width="44" align="center">類別</td>
<td width="62" align="center">詳細類別</td>
<td width="54" align="center">發(fā)布時間</td>
<td width="171" align="center">操作</td>
</tr>
<%for(int i=0;i<list.size();i++){
NewsActionForm newsActionForm=(NewsActionForm)list.get(i);
%>
<tr bgcolor="#ffffff">
<td height="24"><%=newsActionForm.getNewID()%></td>
<td><%=newsActionForm.getNewTitle()%></td>
<td><%=newsActionForm.getNewsType()%></td>
<td><%=newsActionForm.getNewsStyle()%></td>
<td><%=newsActionForm.getNewIssueDate()%></td>
<td align="center"><a href="selectTypeContentAction.do?newsID=<%=newsActionForm.getNewID()%>&newstype=<%=Chinese.str(request.getParameter("newstype"))%>&title=<%=newsActionForm.getNewTitle()%>">查看新聞具體內(nèi)容</a></td>
</tr>
<%}%>
</table>
<p><a href="selectTypeAction.do">添加新聞</a></p>
</div> </td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -