a_list.jsp
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:2k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page language="java" pageEncoding="GBK"%>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  3. <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
  4. <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
  5. <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
  6. <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
  7. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  8. <html>
  9. <head>
  10. <link href="<%=request.getContextPath()%>/Css_file/oa.css" rel="stylesheet" type="text/css" />
  11. </head>
  12. <body>
  13. <p>&nbsp;</p>
  14. <table width="100%" border="1" class="myTable">
  15. <tr class="tableHead">
  16. <td align="center">
  17. 系 统 公 告
  18. </td>
  19. </tr>
  20. <logic:present name="apage" scope="request">
  21. <logic:present name="apage" property="list" scope="request">
  22. <logic:empty name="apage" property="list" scope="request">
  23. <tr>
  24. <td>
  25. <font color="red">暂时没有公告信息</font>
  26. </td>
  27. </tr>
  28. </logic:empty>
  29. </logic:present>
  30. </logic:present>
  31. <logic:present name="apage" scope="request">
  32. <logic:present name="apage" property="list" scope="request">
  33. <logic:notEmpty name="apage" property="list" scope="request">
  34. <logic:iterate id="affiche" name="apage" property="list" scope="request">
  35. <tr>
  36. <td align="left">
  37. &nbsp;&nbsp;·<a href="${pageContext.request.contextPath}/affiche.do?method=show&task=look&id=${affiche.aid}" target="_blank">${affiche.atitle}</a>&nbsp;&nbsp;
  38. <c:if test="${affiche.arealTime>=datetime}">
  39. <img width='25' height='10' src='${pageContext.request.contextPath}/Img_file/news.gif' />&nbsp;&nbsp;
  40. </c:if>
  41. ${affiche.asendTime}
  42. </td>
  43. </tr>
  44. </logic:iterate>
  45. </logic:notEmpty>
  46. </logic:present>
  47. </logic:present>
  48. </table>
  49. <table width=100%>
  50. <tr>
  51. <td>
  52. <div align="right" style="font-size: 8">
  53. ${apage.pageBar}
  54. </div>
  55. </td>
  56. </tr>
  57. </table>
  58. </body>
  59. </html>