📄 view.jsp
字号:
<%@ page contentType="text/html;charset=GBK" %>
<%@ include file="/news/top.jsp" %>
<html>
<head>
<title>信息浏览</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body leftmargin="8" >
<table width="700" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<th>
信息浏览<hr size=1>
</th>
</tr>
</table><f:view>
<div align=center>
<table width="700" cellspacing="1" cellpadding="4" align="center">
<tr>
<th class="table_b_2" width="113" align="right">新闻标题</th>
<td class="table_b" width="472"><h:outputText value="#{newsView.news.title}"/> </td>
</tr>
<tr>
<th class="table_a_2" width="113" align="right" valign="top">目录</th>
<td class="table_a" width="472"><h:outputText value="#{newsView.news.catalog.name}"/> </td>
</tr>
<tr>
<th class="table_b_2" width="113" align="right">信息来源</th>
<td class="table_b" width="472"><h:outputText value="#{newsView.news.source}"/></td>
</tr>
<tr>
<th class="table_b_2" width="113" align="right">发布时间</th>
<td class="table_b" width="472"><h:outputText value="#{newsView.news.createdate}">
<f:convertDateTime pattern="yyyy-MM-dd"/>
</h:outputText></td>
</tr>
<tr>
<th class="table_b_2" width="113" align="right" valign="top">内容</th>
<td class="table_b" width="472"><h:outputText value="#{newsView.news.content}" escape="false"/></td>
</tr>
</table>
<table width="600" align="center" cellpadding="2" cellspacing="2">
<tr>
<td align="center">
<input type="button" name="Button" value=" 返 回 " class="frm_btn" onclick="javascript:history.back()">
</td>
</tr>
</table>
</div> </f:view>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -