sysFileGet.jsp 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <%--
  2. time:2011-11-26 18:19:16
  3. --%>
  4. <%@page language="java" pageEncoding="UTF-8"%>
  5. <%@include file="/commons/include/html_doctype.html"%>
  6. <html>
  7. <head>
  8. <title>附件明细</title>
  9. <%@include file="/commons/include/getById.jsp" %>
  10. </head>
  11. <body>
  12. <div class="panel">
  13. <div class="panel-top">
  14. <div class="tbar-title">
  15. <span class="tbar-label">附件详细信息</span>
  16. </div>
  17. <c:if test="${canReturn==0}">
  18. <div class="panel-toolbar">
  19. <div class="toolBar">
  20. <div class="group"><a class="link back" href="${returnUrl}"><span></span>返回</a></div>
  21. </div>
  22. </div>
  23. </c:if>
  24. </div>
  25. <div class="panel-body">
  26. <form id="sysFileForm" method="post" action="add2.ht">
  27. <table class="table-detail" cellpadding="0" cellspacing="0" border="0">
  28. <tr>
  29. <th width="20%">文件名:</th>
  30. <td>${sysFile.fileName}</td>
  31. </tr>
  32. <tr>
  33. <th width="20%">文件路径:</th>
  34. <td>
  35. <c:choose>
  36. <c:when test="${saveType eq 'database'}">保存在数据库</c:when>
  37. <c:otherwise>${sysFile.filePath}</c:otherwise>
  38. </c:choose>
  39. </td>
  40. </tr>
  41. <tr>
  42. <th width="20%">创建时间:</th>
  43. <td>
  44. <fmt:formatDate value="${sysFile.createtime }" pattern="yyyy-MM-dd HH:ss"/>
  45. </td>
  46. </tr>
  47. <tr>
  48. <th width="20%">扩展名:</th>
  49. <td>${sysFile.ext}</td>
  50. </tr>
  51. <tr>
  52. <th width="20%">说明:</th>
  53. <td>${sysFile.note}</td>
  54. </tr>
  55. <tr>
  56. <th width="20%">上传者:</th>
  57. <td>${sysFile.creator}</td>
  58. </tr>
  59. <tr>
  60. <th width="20%">字节数:</th>
  61. <td>${sysFile.totalBytes}</td>
  62. </tr>
  63. <tr>
  64. <th width="20%">操作:</th>
  65. <td>
  66. <c:choose>
  67. <c:when test="${sysFile.delFlag eq 1}"><font color="red">对不起,该文件已经被删除</font></c:when>
  68. <c:otherwise><a href="download.ht?fileId=${sysFile.fileId }" target="_blank" class="link download">下载</a></c:otherwise>
  69. </c:choose>
  70. </td>
  71. </tr>
  72. </table>
  73. </form>
  74. </div>
  75. </div>
  76. </body>
  77. </html>