a_show.jsp
资源名称:(J2EE)oa.rar [点击查看]
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:2k
源码类别:
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" />
- <style type="text/css">
- <!--
- .STYLE2 {font-size: 24px}
- .STYLE3 {font-size: 12px}
- .STYLE4 {font-size: 14px}
- .STYLE5 {font-size: 16px}
- -->
- </style>
- </head>
- <body>
- <table width="100%" border="1" class="myTable">
- <input type="hidden" name="task" value="look"/>
- <tr>
- <td align="center" colspan="3">
- <span class="STYLE2">${affiche.atitle} </span></td>
- </tr>
- <tr>
- <td align="center" colspan="3">
- <span class="STYLE3">公告有效期: [${affiche.asend_time}] 至 [${affiche.areal_time}] </span></td>
- </tr>
- <tr>
- <td align="center">
- <span class="STYLE5"> ${affiche.acontent} </span></td>
- </tr>
- <tr>
- <td align="right">
- <span class="STYLE4">发布者:${affiche.fname} </span> </td>
- </tr>
- <tr>
- <td align="right"><span class="STYLE4" style="margin-right: 20">${affiche.asend_time} </span> </td>
- </tr>
- <tr>
- <td align="center">
-
- <c:if test="${affiche.affixpath!=null}">
- <span class="STYLE4">
- <%
- 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++) {
- %>
- 附件<%=i + 1%>:<a href ="${pageContext.request.contextPath}/Jsp_file/affiche/down.jsp?filename=<%=names[i]%>"><%=names[i]%></a><br />
- <%
- }
- %>
- </span></c:if>
- </td>
- </tr>
- </table>
- </body>
- </html>