readcaogao.jsp
资源名称:(J2EE)oa.rar [点击查看]
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:4k
源码类别:
Jsp/Servlet
开发平台:
Java
- <%@ page language="java" pageEncoding="GBK"%>
- <%@ 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" %>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gbk" />
- <title>无标题文档</title>
- <style>
- <!--
- a{TEXT-DECORATION:none}
- body{ font-size:12px}
- -->
- </style>
- <script>
- function go(method){
- document.getElementById("method").value=method;
- }
- </script>
- </head>
- <body>
- <html:form action="/email" method="post">
- <html:hidden property="method" value="" />
- <table width="100%" border="1">
- <tr>
- <td colspan="2">操作:
- <a href="" style="margin-left:10px">编辑</a>-
- <a href="${pageContext.request.contextPath}/email.do?method=delToRublish&emailid=<bean:write name='emailForm' property='emailid'/>" style="margin-left:10px">删除</a>-
- <a href="${pageContext.request.contextPath}/email.do?method=delForever&emailid=<bean:write name='emailForm' property='emailid'/>" style="margin-left:10px">彻底删除</a>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <table width="100%" border="1">
- <html:hidden name="emailForm" property="emailid"/>
- <html:hidden name="emailForm" property="receiveid"/>
- <html:hidden name="emailForm" property="receivename"/>
- <html:hidden name="emailForm" property="title"/>
- <html:hidden name="emailForm" property="content"/>
- <tr>
- <td width="14%">日期</td>
- <td width="86%">
- <bean:write name="emailForm" property="sendtime"/>
- </td>
- </tr>
- <tr>
- <td >发件人</td>
- <td>
- <bean:write name="emailForm" property="sendname"/>
- </td>
- </tr>
- <tr>
- <td>收件人</td>
- <td>
- <bean:write name="emailForm" property="receivename"/>
- </td>
- </tr>
- <tr>
- <td>主题</td>
- <td>
- <bean:write name="emailForm" property="title"/>
- </td>
- </tr>
- <tr>
- <td>附件</td>
- <td>
- <logic:notPresent name="emailForm" property="fujian">
- 无附件
- </logic:notPresent>
- <logic:present name="emailForm" property="fujian">
- <logic:empty name="emailForm" property="fujian">
- 无附件
- </logic:empty>
- <logic:notEmpty name="emailForm" property="fujian">
- <logic:iterate id="temp" name="emailForm" property="fujian">
- <a href="${pageContext.request.contextPath}/Jsp_file/email/down.jsp?filepath=${temp.filepath}&filename=${temp.filename}" style="margin-left: 20px">
- <bean:write name="temp" property="filename" />
- </a>
- </logic:iterate>
- </logic:notEmpty>
- </logic:present>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <textarea cols="135" rows="15" readonly="readonly">
- <bean:write name="emailForm" property="content"/>
- </textarea>
- </td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td colspan="2">
- <input type="submit" value="编辑" onclick="return go('Edit');"/>
- <input type="button" value="返回" onclick="history.back();"/>
- </td>
- </tr>
- </table>
- </html:form>
- </body>
- </html>