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

📄 keynews.jsp

📁 新闻网(news) 带使用说明书 可以用作课程设计
💻 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;
	font-style: italic;
}
-->
</style></head>


<body>
<table width="570" height="740"  border="0" align="left" cellpadding="2" cellspacing="1" bgcolor="#999999">
  <tr>
    <td width="571" height="100" align="center" valign="top" bgcolor="#FFFFFF">
		<table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="35">&nbsp;</td>
      </tr>
      <tr>
        <td background="jsp/images/tiao3.jpg">   </td>
      </tr>
    </table>
         <p><font style="font-size:11pt; "><%=Chinese.str(request.getParameter("type"))%></font></p>
      <table width="464" border="0" cellpadding="2" cellspacing="1" bgcolor="#052754">
    <tr align="center" bgcolor="0099cc">
      <td width="159" height="20">新闻题目</td>
      <td width="144">新闻详细类别</td>
      <td width="145">操作</td>
    </tr>
<%List list=(List)request.getAttribute("listContent");%>
<%for(int i=0;i<list.size();i++)
{ NewsActionForm newsAction=(NewsActionForm)list.get(i);
%>
    <tr bgcolor="#FFFFFF">
      <td height="24"><%=newsAction.getNewTitle()%></td>
      <td><%=newsAction.getNewsStyle()%></td>
      <td align="center" bgcolor="#FFFFFF"><a href="keyNewWatchContent.do?newsID=<%=newsAction.getNewID()%>&title=<%=newsAction.getNewTitle()%>&type=<%=Chinese.str(request.getParameter("type"))%>&key=<%=Chinese.str(request.getParameter("key"))%>">查看新闻的详细内容</a></td>
    </tr><%}%>
  </table>
  </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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