newsMain_b.jsp
上传用户:jishiqi_cj
上传日期:2022-08-08
资源大小:24765k
文件大小:1k
- <%@ page contentType="text/html;charset=GBK" language="java" %>
- <%@ page import = "StudyNews.*" %>
- <%@ page import = "java.util.*" %>
- <%
- Vector v = (Vector)session.getAttribute(Constants.NEWS_LIST_KEY);
- News news = null;
- %>
- <html>
- <head>
- <title>新闻动态t</title>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- </head>
- <body bgcolor="#FFFFFF">
- <table width="410" border="0" cellspacing="0" cellpadding="0" align="center">
- <tr>
- <td><img src="images/newscast_header.gif" width="407" height="68"></td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- <tr>
- <td>
- <p align="center"><b>热点新闻</b></p>
- </td>
- </tr>
- <%if(v != null ){
- for(int i = 0;i < v.size();i++)
- {
- news = (News)v.get(i);
- %>
- <tr height="30">
- <td><p><font size="2"><img src="images/DOT.GIF" width="11" height="12">
- <A href="newsDetail.do?newsId=<%=news.getId()%>"><%=news.getTitle()%></A>
- </font></p>
-
- </td>
- </tr>
- <%
- }
- }
- %>
- <tr>
- <td height="7">
- <div align="center">
- <hr size="1" noshade>
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div align="center">
- <font size="2">版权所有 StudyOnline </font></div>
- </td>
- </tr>
- </table>
- </body>
- </html>