📄 newscontent.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 {font-size: 11pt}
.style2 {
font-size: 9pt;
font-weight: bold;
font-style: italic;
color: #FF9900;
}
-->
</style></head>
<%List list=(List)request.getAttribute("content");%>
<%for(int i=0;i<list.size();i++){
NewsActionForm newsActionForm=(NewsActionForm)list.get(i);
%>
<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"> </td>
</tr>
<tr>
<td height="16" background="jsp/images/line.jpg"> ·<span class="style2"><%=Chinese.str(request.getParameter("type"))%>新闻</span></td>
</tr>
</table>
<p><font style="font-size:11pt; "><%=Chinese.str(request.getParameter("title"))%></font></p>
<table width="459" height="306" border="0" cellpadding="2" cellspacing="1" bgcolor="#0099cc">
<tr>
<td height="304" valign="top" bgcolor="#FFFFFF"> <%=newsActionForm.getNewContent()%></td>
</tr>
</table>
<p>
<%}%>
<a href="newsTypeWatch.do?type=<%=Chinese.str(request.getParameter("type"))%>">返回</a> </p>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -