📄 displayback.jsp
字号:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="java.sql.*"%>
<%@ page import="to.model.Department.*"%>
<%@ page import="java.util.*"%>
<%@ page import="to.model.Login.*"%>
<%@ page import="to.model.Inform.*"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>通知反馈信息查看</title>
<style type="text/css">
table{font-size:13px}
<!--
a:link { text-decoration: none;color: black}
a:active { text-decoration:blink;}
a:hover {text-decoration: underline;position: relative; top: 3px; left: 3px; color: red}
a:visited { text-decoration:none;color: black}
-->
</style>
</head>
<body>
<form>
<table cellspacing="1" cellpadding="1" border="0" width="800" align="center">
<%
loginItem li=(loginItem)session.getAttribute("user");
if(li==null)
{
response.sendRedirect("OfficeLogin.jsp");
}
%>
<tr>
<td colspan="6" height="1"><hr/></td>
</tr>
<tr>
<th colspan="6" align="center">当前通知标题</th>
</tr>
<tr bgcolor="#006699">
<th width="80" align="center"><font color="White">序号</font></th>
<th width="100" align="center"><font color="White">回复人</font></th>
<th width="380" align="center"><font color="White">回复内容</font></th>
<th width="80" align="center"><font color="White">回复日期</font></th>
<th width="80" align="center"><font color="White">状态</font></th>
<th width="80" align="center"><font color="White">操作</font></th>
</tr>
<%
InformBean ib=new InformBean();
int id=Integer.parseInt(request.getParameter("id"));
Collection cl=(Collection)ib.selectBack(id);
Iterator it=cl.iterator();
while(it.hasNext())
{
BackItem bi=(BackItem)it.next();
%>
<tr bgcolor="#ddddee">
<td width="80" align="center"><%=bi.getId()%></td>
<td width="100" align="center"><%=bi.getBacker()%></td>
<td width="380" align="center"><%=bi.getBackC()%></td>
<td width="80" align="center"><%=bi.getBackDate()%></td>
<td width="80" align="center"><%=bi.getIfread()%></td>
<td width="80" align="center"><font color="Blue"><a href="DeleteBackAction.do?id=<%=bi.getBackID()%>">删除</a></font></td>
</tr>
<%
}
%>
<tr>
<td colspan="6" height="1"><hr/></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -