a_editshow.jsp
资源名称:(J2EE)oa.rar [点击查看]
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:3k
源码类别:
Jsp/Servlet
开发平台:
Java
- <%@ page language="java" pageEncoding="GBK" import="java.util.*"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
- <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
- <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
- <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html>
- <head>
- <link href="<%=request.getContextPath()%>/Css_file/oa.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <table width="100%" border="1" class="myTable">
- <tr class="tableHead">
- <td colspan="3" align="center"><table width="100%" border="1" >
- <tr>
- <td > </td>
- <td align="center">公告信息</td>
- <td >
- <a href="${pageContext.request.contextPath}/affiche.do?method=editlist">返回</a></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td align="right">标题:</td>
- <td align="center">${affiche.atitle} </td>
- <td align="right"> </td>
- </tr>
- <tr>
- <td align="right">内容:</td>
- <td align="center">${affiche.acontent} </td>
- <td align="right"> </td>
- </tr>
- <tr>
- <td align="right">发布时间:</td>
- <td align="center">${affiche.asend_time} </td>
- <td align="right"> </td>
- </tr>
- <tr>
- <td align="right">有效时间:</td>
- <td align="center">${affiche.areal_time} </td>
- <td align="right"> </td>
- </tr>
- <tr>
- <td align="right">发布者:</td>
- <td align="center">${affiche.fname} </td>
- <td align="right"> </td>
- </tr>
- <tr>
- <td align="right">审核人:</td>
- <td align="center">${affiche.uname} </td>
- <td align="right"> </td>
- </tr>
- <tr>
- <td align="right">备注:</td>
- <td align="center">${affiche.amemo} </td>
- <td align="right"> </td>
- </tr>
- <c:if test="${affiche.affixpath!=null}">
- <%
- Map map = (Map)request.getAttribute("affiche");
- String path = (String)map.get("affixpath");
- String name = (String)map.get("affixname");
- String[] names = name.split(",");
- for(int i=0;i<names.length;i++){
- %>
- <tr>
- <td align="right">附件<%=i+1%></td>
- <td align="center">
- <a href ="${pageContext.request.contextPath}/Jsp_file/affiche/down.jsp?filename=<%=names[i]%>"><%=names[i]%></a>
-
- </td>
- <td align="right"> </td>
- </tr>
- <%
- }
- %>
- </c:if>
- </table>
- </body>
- </html>